Re: Trying to configure/compile glib-2.0.6



On Mon, 14 Oct 2002 09:03:45 PDT, Paul Thomas said:

> configure:12527: ./conftest
> ./conftest: can't load library 'libiconv.so.2'
> 
> is happening as 'libiconv.so.2' is right here:
> 
> /usr/local/lib/libiconv.so.2
> 
> freshly installed from:
> 
> /var/local/src/libiconv-1.8/

I'll place bets that you don't have /usr/local/lib in your /etc/ld.so.conf
file, and that your program got compiled against iconv 1.8 headers but
you ended up linked against an iconv-1.N for N<8 that happens to be in /usr/lib.

Recent gcc (at least from redhat) automagically put /usr/local/include in the
system search path - but don't add /usr/local/lib to the -L list as far as
I can tell.
-- 
				Valdis Kletnieks
				Computer Systems Senior Engineer
				Virginia Tech

Attachment: pgpK69P9gAAaD.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]