[exec] CXX StreamCoder.lo
[exec] CXX Stream.lo
[exec] CXX TimeValue.lo
[exec] CXX VideoResampler.lo
[exec] CXX Xuggler.lo
[exec] CXXLD libxuggle-xuggler.la
[exec] CXX Xuggle.lo
[exec] CXXLD libxuggle.la
[exec] ld: library not found for -lSDLmain
[exec] collect2: ld returned 1 exit status
[exec] make[4]: *** [libxuggle.la] Error 1
[exec] make[3]: *** [all-recursive] Error 1
[exec] make[2]: *** [all-recursive] Error 1
出现这个问题时
1. sudo port install libsdl
2. export LIBRARY_PATH=/opt/local/lib (where libsdlmain gets installed to).