Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

Your Answer


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.