On 16 juil. 2004, at 17:54, Mark Zimmerman wrote:

Martin,

It appears that I do have /usr/lib/libdl.dylib

No, you don't. You had it when the locate database was created, but you don't now.


MARKLAPTOP:~ markz$ locate libdl.dylib
/usr/lib/libdl.dylib
/usr/local/lib/libdl.dylib

However it doesn't seem to be a link to libSystem.dylib

MARKLAPTOP:~ markz$ ls -l /usr/lib/libdl*
-rwxr-xr-x  1 501  staff  16404 20 Aug  2002 /usr/lib/libdl.0.dylib

So, no libdl.dylib there. This is the reason why "-ldl" on a linker line first found the broken /usr/local/lib/libdl.a and now that this is moved away, doesn't find anything any more.


ld: can't locate file for: -ldl

It looks for libdl.dylib and doesn't find one.

So it seems that you did something evil with your libdl files in /usr/lib and in /usr/local/lib. If you didn't do this voluntarily yourself, but this is the result of installing some software, find the authors of that software and hit them over the head :-)

Otherwise, I would recommend to install the symlink that was there originally:

  sudo ln -s libSystem.dylib /usr/lib/libdl.dylib

If you are on Panther, this should solve your problem.

--
Martin





-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to