Marc Baaden wrote: > Hi, > > I am compiling one of our applications on my Mac and encounter weird > things concerning dyld library versions, at the moment with libpng.3.dylib > in particular. > > When I try to execute my application it says libpng provides version 3 > whereas version 16 is expected. As output I get: > > zoe:/trunk marc$ ./render > dyld: Library not loaded: /sw/lib/libpng.3.dylib
Recent versions of dyld are somewhat truth-challenged ;-) What can happen is that some other instance of libpng.3.dylib is already loaded when the command to load /sw/lib/libpng.3.dylib is given. Dyld then doesn't load the new library but tries to pass the other one for it. When it realizes that the compatibility version is insufficient, it blames the error on /sw/lib/libpng.3.dylib, althought the wrong library might be /usr/local/lib/libpng.3.dylib or something. You can run your command as env DYLD_PRINT_LIBRARIES=1 ./render to see which libraries are loaded. Look if there isn't some other libpng loaded, too. > Referenced from: /trunk/./render > Reason: Incompatible library version: render requires version 16.0.0 or > later, butlibpng.3.dylib provides version 3.0.0 -- Martin ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
