tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: ldg@ulysium.net
Subject: unresolved symbols with iconv
Date: Mon, 17 Feb 2003 19:49:52 -0500	[thread overview]
Message-ID: <BA76ED60.213D5%ldg@ulysium.net> (raw)

Hi all,

I've been browsing all the archives and everything I could find about my
problem and didn't find a hint to help me solve it. I even posted on the
apache users list and there seem to be hardly any traffic there.

I'm trying to compile apache2 on tru64 5.1b. I have installed most of the
open source rpms from the cd and it's creating a confusion with iconv.

When trying to compile apache2 (2.0.44) with any of the --enable-static-
options (such as --enable-static-htpasswd), I get errors from unresolved
symbols for iconv, iconv_open and iconv_close, the errors happen I think
when linking, during the "make all in support" part.

If I don't add any --enable-static- options, then it compiles all the way
unless I also add --enable-mem-cache or --enable-asapi, which also cause
other errors but unrelated to iconv (I will try to solve this later).

When it compiles all the way and I try to start it, the error from the
unresolved symbol on iconv happens then.

I also tried compiling the latest gcc and it has the same problem with
iconv.

A little more poking around made me think there must be some kind of
confusion with the iconv libraries, due to the fact that an other set of
headers/libs was added by the open source packages, so I do have an iconv.h
in both /usr/include and /usr/local/include and there is a libiconv.a in
both /usr/ccs/lib and /usr/local/lib (and probably more duplicate files
involved with iconv).

I'm not a C programmer and I wouldn't know what to do to fix this.
What I'm wondering is if it's actually possible to let both versions of
iconv coexist on the system, or do I have to remove an instance of them and
how to go about this.

Is there any way to prevent this confusion, short of removing something, so
I can compile things properly?

I have a few more issues to resolved but I'll start with this one, thanks to
all in advance for any helpful hints..

-- 
mailto:dg@ulysium.net



                 reply	other threads:[~2003-02-18  0:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox