[pdftex] can't compile using mac tex distribution
Tim Poitras
timpoitras at gmail.com
Sat Apr 11 04:02:59 CEST 2009
Hello,
I'm running the MacTex 2008 distribution on my Macbook Pro, and it just
won't compile.
When I try to compile a .tex file using pdflatex, I get this error:
dyld: Library not loaded: /sw/lib/libpng12.0.dylib
Referenced from: /usr/bin/pdflatex
Reason: image not found
Trace/BPT trap
So I did a find for the missing file "libpng12.0.dylib" and found it in a
couple other directories. They are:
/Developer/SDKs/MacOSX10.5.sdk/usr/X11/lib/libpng12.0.dylib
/usr/X11/lib/libpng12.0.dylib
So I copied the file out of there (the 1st directory I listed) and into the
/usr/bin directory. I then tried to run pdflatex again and got this error:
dyld: Library not loaded: /sw/lib/libpng12.0.dylib
Referenced from: /usr/bin/pdflatex
Reason: no suitable image found. Did find:
/sw/lib/libpng12.0.dylib: can't map
Trace/BPT trap
Has anyone seen this before? Any advice on how I can get this to work?
I even tried this with the most basic of .tex files possible:
\documentclass{article}
\begin{document}
hello world!
\end{document}
and it can't even compile that.
I googled a lot, and still can't find a solution.
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/pdftex/attachments/20090410/721b5517/attachment.html
More information about the pdftex
mailing list