Dyld: Error loading library when running command in terminal

When running some commands in the terminal, the following error message appears

dyld: Library not loaded: /opt/local/lib/libjpeg.62.dylib
  Referenced from: /opt/local//lib/libTIFF.dylib
  Reason: no suitable image found.  Did find:
    /opt/local//lib/libjpeg.62.dylib: can't map
    /opt/local/lib/libjpeg.62.dylib: can't map
Trace/BPT trap

My xcode is updated.

+5
source share
4 answers

How your paths start / opt / local I assume you are using macports

If so, I think you should at least do sudo port selfupdate, since the current tiff port depends on /libjpeg.7.dylib.

A complete reinstall may be necessary if macports was installed under Leopard or earlier

+3
source

After doing

sudo port selfupdate 

don't forget to do

sudo port upgrade outdated

. , : -)

+3

Leopard, macports, libsdl_image jpeg lib. jpeg6b , (/opt/local/lib/jpeg6b/lib/libjpeg.62.dylib). ,

port selfupdate
port install libsdl_image

libsdl_image 1.2.8_0 1.2.10_2 .

+1

. , Snow Leopard. 10 , , .

.

, :

:

> port installed

:

> sudo port -f uninstall installed

macports: macports .

, .

0
source

All Articles