tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* unresolved symbols with iconv
@ 2003-02-18  0:49 ldg
  0 siblings, 0 replies; only message in thread
From: ldg @ 2003-02-18  0:49 UTC (permalink / 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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-02-18  0:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-18  0:49 unresolved symbols with iconv ldg

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