Monday, May 10, 2010

Mac OS 10.6 Snow Leopard problem after installing MacPorts

ps2pdf14 paper.ps paper.pdf
dyld: Library not loaded: /opt/local/lib/libX11.6.dylib
Referenced from: /opt/local/bin/gs
Reason: no suitable image found. Did find:
/opt/local/lib/libX11.6.dylib: mach-o, but wrong architecture
make: *** [paper.pdf] Trace/BPT trap


So you need to copy all libs from /usr/X11R6/lib/ to /opt/local/lib/