On 30 Sep 2006, at 00:40, derek holzer wrote:

> Jean-François Mertens wrote:
>
>> for a quick fix, you can just try "export LDFLAGS=-lintl" before  
>> you build.
too bad _ but cf infra.
>
> OK. Tried that without success.
>
>> But you really should clean up your system, and know what is in it.
>
> Without knowing exactly what is safe to remove from /usr/lib, I'd have
> to say that this would require a complete reinstall. A bit extreme  
> just
> for one set of plugins, to be sure.
Those are basic libs and programs, not \"just a set of plugins"
And there is a way to know from /Library/Receipts what exactly should  
be under /usr
But it's your problem _ and anyway those things are not fink- 
specific, -> don't belong here.
>> And then you can look in the build-dir _ the config.log, the  
>> generated
>> Makefiles _ for the cause of the problems.
>
> Here is the part of the config.log dealing with libintl. I've  
> posted the
> whole thing below, let me know if it would also be helpful to see the
> Makefiles as well.

In all the following lines, you see that -L/sw/lib is missing :
> configure:3697: checking for GNU gettext in libc
> configure:3721: gcc -o conftest -g -O2  -lintl conftest.c  >&5
> /usr/bin/ld: Undefined symbols:
> __nl_domain_bindings
> ...
> configure:3786: checking for iconv
> configure:3813: gcc -o conftest -g -O2 -I/sw/include -lintl  
> conftest.c  >&5
> /usr/bin/ld: Undefined symbols:
> _libiconv
> ...
(didn't read further...)

I think there is part of the fink documentation dealing with how to  
compile
your own programs with fink.
You should really read it.

(In particular, given what I see, I would replace LDFLAGS by  
LIBRARY_PATH
in my suggested quick fix above. But you shouldn't go for quick fixes;
rather try to understand what is going on)

JF Mertens


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to