[MINC-users] dyld errors
Alexandre CARMEL-VEILLEUX
acveilleux at mrs.mni.mcgill.ca
Fri Mar 6 14:18:58 EST 2009
On Fri, Mar 06, 2009 at 01:01:52PM -0500, Dale Einarson wrote:
>
> Hello all,
> Hi Alex, I got this working but (see the quick fix)
>
> When I 'setenv DYLD_LIBRARY_PATH ""' I get "dyld: Library not loaded: /
> libnetpbm.10.dylib". However if I "setenv DYLD_LIBRARY_PATH
> $LD_LIBRARY_PATH" I get errors about jpeg,tiff and png missing
> symbols...
Very strange, the build I made comes with its own libnetpbm:
mrspc [/usr/local/lib] file libnetpbm.10.26.dylib
libnetpbm.10.26.dylib: Mach-O 64-bit dynamically linked shared library x86_64
Of course, I don't have fink in my path at all. Now, I'm a bit
behind the curve and I use 10.5.4 on this mac. For the lib you mention, the ones
I use are:
mrspc [/usr/local/lib] file libpng.3.25.0.dylib libjpeg.62.0.0.dylib libpng12.0.25.0.dylib libtiff.3.dylib
libpng.3.25.0.dylib: Mach-O 64-bit dynamically linked shared library x86_64
libjpeg.62.0.0.dylib: Mach-O 64-bit dynamically linked shared library x86_64
libpng12.0.25.0.dylib: Mach-O 64-bit dynamically linked shared library x86_64
libtiff.3.dylib: Mach-O 64-bit dynamically linked shared library x86_64
Perhaps you have two sets of libs co-habitating?
> mv lib/libJPEG.dylib lib/libJPEG.dylibo
> mv lib/libTIFF.dylib lib/libTIFF.dylibo
> mv lib/libPng.dylib lib/libPng.dylibo
The capitalization here is quite suspect, this is the format used
by the native OSX version of those libs. Now, the mac native version of
those libs are only 32-bit... But with the case-preserving/case-insensitive
brain damaged HFS+, they can and will overwrite the libs I built.
> This is rather odd, the "osx-10.5-x86_64-alex" tar was
> working last time I installed it... but I just reinstalled it to "see
> what's up" and found it works if you replace the aforementioned libs
> with fink ( 32 bit libs )?...
It'd be interesting to use DTrace to find out precisely which lib
gets open at runtime.
Alex
More information about the MINC-users
mailing list