Hey, I recently updated to Mac Ports 1.9.1, and upgraded ImageMagic to 6.6.3-0 on Snow Leopard.
I am now getting this issue when trying to run either convert or composite.
~ $ convert --version
dyld: Library not loaded: /opt/local/lib/libjpeg.62.dylib
Referenced from: /usr/local/bin/convert
Reason: image not found
Trace/BPT trap
There were no errors during the ImageMagick install. It appears the jpeg port is installed aswell if that is relevent.
~ $ sudo port list jpeg
jpeg @8b graphics/jpeg
Any ideas how to fix this?
Port Install Problem - Library not loaded
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Port Install Problem - Library not loaded
I am not an expert on this but am on a Mac and do use MacPorts, but have not upgraded it recently.
cd /opt/local/lib/
and see if
libjpeg.62.dylib
is in the directory.
On my old Mac Mini, OSX Tiger, I only have:
libjpeg.8.dylib
libjpeg.a
libjpeg.dylib
libjpeg.la
in that directory. I am not sure what is libjpeg.62.dylib -- is that a more recent version of libjpeg?
Perhaps upgrade or reinstall libjpeg from MacPorts and then re-install IM (perhaps uninstall libjpeg and IM first)?
Perhaps an IM expert can comment further.
cd /opt/local/lib/
and see if
libjpeg.62.dylib
is in the directory.
On my old Mac Mini, OSX Tiger, I only have:
libjpeg.8.dylib
libjpeg.a
libjpeg.dylib
libjpeg.la
in that directory. I am not sure what is libjpeg.62.dylib -- is that a more recent version of libjpeg?
Perhaps upgrade or reinstall libjpeg from MacPorts and then re-install IM (perhaps uninstall libjpeg and IM first)?
Perhaps an IM expert can comment further.
Last edited by fmw42 on 2010-07-27T17:42:39-07:00, edited 2 times in total.
Re: Port Install Problem - Library not loaded
Thanks for your response fmw42
The listing of my /opt/local/lib is below
~ $ ls /opt/local/lib/libjpeg*
/opt/local/lib/libjpeg.8.dylib /opt/local/lib/libjpeg.dylib
/opt/local/lib/libjpeg.a /opt/local/lib/libjpeg.la
Yeah I have tried a number of different ways of uninstalling, reinstalling etc, ive even tried a complete port uninstall (uninstall all the ports, and ran the mac ports installer again, then installed everything again.)
Always get the same issue.
The listing of my /opt/local/lib is below
~ $ ls /opt/local/lib/libjpeg*
/opt/local/lib/libjpeg.8.dylib /opt/local/lib/libjpeg.dylib
/opt/local/lib/libjpeg.a /opt/local/lib/libjpeg.la
Yeah I have tried a number of different ways of uninstalling, reinstalling etc, ive even tried a complete port uninstall (uninstall all the ports, and ran the mac ports installer again, then installed everything again.)
Always get the same issue.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Port Install Problem - Library not loaded
Those are the same files I have.
Looks like you have tried everything appropriate. Perhaps you need to post to the MacPorts people? Hopefully one of the IM experts can comment further on what might be going wrong and if it is IM or MacPorts.
Looks like you have tried everything appropriate. Perhaps you need to post to the MacPorts people? Hopefully one of the IM experts can comment further on what might be going wrong and if it is IM or MacPorts.