Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

When executing an application I receive the following error:

./WordMaker WordMaker_BatchConfig.moos
dyld: Library not loaded: /opt/local/lib/libSM.6.dylib
  Referenced from: /Users/josh/Desktop/FabMapV2_MacOSX/bin/./WordMaker
  Reason: image not found

It appears that this library file relates to X11, which I have installed (i.e. XQuartz), however it is located at /usr/X11/lib/.

How do I fix this problem? Do I simply create a symbolic link to it or is there a better way / something that I am missing?

I am running OS X 10.8.4.

share|improve this question
add comment

1 Answer 1

As the library is in /opt/local this probably means that the WordMaker executable was compiled using Macports libraries. So you need to install the libSM library via Macports like this.

sudo port install xorg-libsm
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.