Hello,<br><br>I'm running the MacTex 2008 distribution on my Macbook Pro, and it just won'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 "libpng12.0.dylib" and found it in a couple other directories. They are:<br>/Developer/SDKs/MacOSX10.5.<div id=":90" class="ii gt">
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'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't even compile that.<br><br>I googled a lot, and still can't find a solution.<br>
<br>Thanks.</div>