OK I think I figured out the source of most (all?) the weird problem I have seen with the experimental fink changes (which use LIBRARY_PATH instead of LDFLAGS).

In short: libtool

Longer explanation: libtool doesn't know about LIBRARY_PATH. Thus we get many message like this:

*** Warning: This library needs some functionality provided by -ldl.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.

*** Since this library must not contain undefined symbols,
*** because either the platform does not support them or
*** it was explicitly requested with -no-undefined,
*** libtool will only create a static version of it.


The problem is that libtool needs the .la files for certain libs. These files are present, but libtool doesn't see them in /sw/lib.

Luckily, it seems that libtool will honor DYLD_LIBRARY_PATH ! So I am trying setting that now. I will have to rebuild most packages now, though, since all of them are potentially tainted.


Max
--
-----------------------------------------------
Max Horn
Software Developer

email: <mailto:max@;quendi.de>
phone: (+49) 6151-494890


-------------------------------------------------------
This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to