From: <jf...@co...> - 2006-09-29 23:34:50
|
On 30 Sep 2006, at 00:40, derek holzer wrote: > Jean-Fran=E7ois Mertens wrote: > >> for a quick fix, you can just try "export LDFLAGS=3D-lintl" before =20= >> 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 =20 > 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 =20= be under /usr But it's your problem _ and anyway those things are not fink-=20 specific, -> don't belong here. >> And then you can look in the build-dir _ the config.log, the =20 >> generated >> Makefiles _ for the cause of the problems. > > Here is the part of the config.log dealing with libintl. I've =20 > 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 =20 > 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 =20 compile your own programs with fink. You should really read it. (In particular, given what I see, I would replace LDFLAGS by =20 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 |