I tried downloading the binaries for ImageMagick for Lion. It looks like they are mis-built. The command line tools I tried (e.g. convert, montage) are linked to dylibs in /opt/local/lib which is not a standard Apple directory.
In addition, I think the version you linked to is different than the standard version. I think the OS is trying to fallback to /usr/lib, but the Apple version is lower than what you expect.
Sample Error:
dyld: Library not loaded: /opt/local/lib/libltdl.7.dylib
Referenced from: /Users/foo/Downloads/bin/montage
Reason: Incompatible library version: montage requires version 11.0.0 or later, but libltdl.7.dylib provides version 10.0.0
Trace/BPT trap: 5
Here is the output of otool -L convert which clearly shows the bad /opt/local/lib directory dependencies.
otool -L convert
convert:
/ImageMagick-6.7.5/lib/libMagickCore.5.dylib (compatibility version 6.0.0, current version 6.0.0)
/ImageMagick-6.7.5/lib/libMagickWand.5.dylib (compatibility version 6.0.0, current version 6.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)
/usr/X11/lib/libXext.6.dylib (compatibility version 11.0.0, current version 11.0.0)
/usr/X11/lib/libXt.6.dylib (compatibility version 7.0.0, current version 7.0.0)
/opt/local/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.6)
/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
/opt/local/lib/libltdl.7.dylib (compatibility version 11.0.0, current version 11.0.0)
/usr/X11/lib/libSM.6.dylib (compatibility version 7.0.0, current version 7.1.0)
/usr/X11/lib/libICE.6.dylib (compatibility version 10.0.0, current version 10.0.0)
/usr/X11/lib/libX11.6.dylib (compatibility version 10.0.0, current version 10.0.0)
Mis-built Mac OS X 10.7 binaries
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Mis-built Mac OS X 10.7 binaries
Did you install from MacPorts? It puts things in /opt/local/lib
Re: Mis-built Mac OS X 10.7 binaries
No, I downloaded the prebuilt binaries. I didn't install from Macports. I thought that was the point of downloading prebuilt binaries.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Mis-built Mac OS X 10.7 binaries
Sorry for the misunderstanding. Just checking to be sure I did not misunderstand. I guess you will need to wait for a reply from the IM developers.ewmailing wrote:No, I downloaded the prebuilt binaries. I didn't install from Macports. I thought that was the point of downloading prebuilt binaries.
Re: Mis-built Mac OS X 10.7 binaries
We will release a new Mac OS X distribution within a day or two that includes libltdl or is built statically. Thanks,
Re: Mis-built Mac OS X 10.7 binaries
No problem. I just re-read my response. It looks a little snarky in hindsight. My apologies. It wasn't my intent.fmw42 wrote:Sorry for the misunderstanding. Just checking to be sure I did not misunderstand. I guess you will need to wait for a reply from the IM developers.ewmailing wrote:No, I downloaded the prebuilt binaries. I didn't install from Macports. I thought that was the point of downloading prebuilt binaries.
Re: Mis-built Mac OS X 10.7 binaries
Thanks!magick wrote:We will release a new Mac OS X distribution within a day or two that includes libltdl or is built statically. Thanks,