Page 1 of 1

Port Install Problem - Library not loaded

Posted: 2010-07-27T06:56:09-07:00
by freddy123
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?

Re: Port Install Problem - Library not loaded

Posted: 2010-07-27T17:22:51-07:00
by fmw42
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.

Re: Port Install Problem - Library not loaded

Posted: 2010-07-27T17:37:04-07:00
by freddy123
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.

Re: Port Install Problem - Library not loaded

Posted: 2010-07-27T17:39:35-07:00
by fmw42
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.