Martin Costabel wrote:
Alexander K. Hansen wrote:
[]
Hmm...interesting. Similarly to your /sw/bin/tar, for some reason
dpkg is linked against /usr/lib/libiconv.2.dylib rather than a
Fink-installed libiconv
Not necessarily. We have only dyld's word for it, and some versions of
dyld are lying bastards, as we know. We haven't seen what Dave's otool
-L is saying. I bet from
otool -L /sw/bin/dpkg
(or /sw/bin/tar etc) you get /sw/lib/libiconv.2.dylib and not
/usr/lib/libiconv.2.dylib in the library list.
The question is why dyld is taking /usr/lib/libiconv.2.dylib instead
of Fink's libiconv. The only other possibility besides deliberately
misleading dyld by setting DYLD_LIBRARY_PATH is that dyld is doing
this on its own. We have seen this so far only from Tiger dylds (with
some corrections in 10.4.3 over previous Tiger versions), whereas Dave
is running Panther. Maybe the latest 10.3.9 has the new "improved"
dyld from Tiger, too. Or Dave has installed some 3rd party cctools or
binutils package with an "improved" dyld?
Running otool -L against /sw/bin/dpkg produces the following:
/sw/bin/dpkg:
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
(compatibility version 150.0.0, current version 299.36.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current
version 1.0.0)
/sw/lib/libintl.3.dylib (compatibility version 8.0.0, current
version 8.3.0)
/sw/lib/libiconv.2.dylib (compatibility version 6.0.0, current
version 6.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 71.1.4)
So you were correct Martin, it is linked to the correct lib, it just
seem to be trying to load the wrong one...
I've not installed any development tools on this machine apart from
xcode 1.5 and fink.
cheers,
Dave
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users