Hello,<br><br>I&#39;m running the MacTex 2008 distribution on my Macbook Pro, and it just won&#39;t compile. <br><br>When I try to compile a .tex file using pdflatex, I get this error:<br><br>dyld: Library not loaded: /sw/lib/libpng12.0.dylib<br>
Referenced from: /usr/bin/pdflatex<br>Reason: image not found<br>Trace/BPT trap<br><br>So I did a find for the missing file &quot;libpng12.0.dylib&quot; and found it in a couple other directories. They are:<br>/Developer/SDKs/MacOSX10.5.sdk/usr/X11/lib/libpng12.0.dylib<br>
/usr/X11/lib/libpng12.0.dylib<br><br>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:<br><br>dyld: Library not loaded: /sw/lib/libpng12.0.dylib<br>
Referenced from: /usr/bin/pdflatex<br>Reason: no suitable image found. Did find:<br>/sw/lib/libpng12.0.dylib: can&#39;t map<br>Trace/BPT trap<br><br>Has anyone seen this before? Any advice on how I can get this to work?<br>
<br>I even tried this with the most basic of .tex files possible:<br><br>\documentclass{article}<br>\begin{document}<br>hello world!<br>\end{document}<br><br>and it can&#39;t even compile that.<br><br>I googled a lot, and still can&#39;t find a solution.<br>
<br>Thanks.<br>