[MacPorts] #28160: Unable to use LaTeX after upgrading (dyld libpng14 problem?)
MacPorts
noreply at macports.org
Tue Jan 25 20:51:26 PST 2011
#28160: Unable to use LaTeX after upgrading (dyld libpng14 problem?)
------------------------------------+---------------------------------------
Reporter: vinay.d.shah@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: texlive-latex
------------------------------------+---------------------------------------
Hello,
I had originally installed LaTeX using MacTeX. I needed to install
texlive-publishers for something else, so I did that (and also installed
texlive.) This upgraded libpng to version 14. I now get this error when I
try to run LaTeX
{{{
$ latex
dyld: Library not loaded: /opt/local/lib/libpng12.0.dylib
Referenced from: /opt/local/bin/latex
Reason: image not found
Trace/BPT trap
}}}
There is no libpng12.0.dylib file in /opt/local/lib, presumably because it
has been upgraded. However, I do have /opt/local/lib/libpng14.dylib,
/opt/local/lib/libpng14.14.dylib and /opt/local/lib/libpng.dylib
I have already tried `sudo port selfupdate && sudo port upgrade installed`
and this has not fixed the issue. I have also checked that latex is indeed
provided by macports now:
{{{
$ which latex
/opt/local/bin/latex
$ port provides /opt/local/bin/latex
/opt/local/bin/latex is provided by: texlive-latex
}}}
I also get this error when running pdflatex, which makes me think that
this is a problem with a latex dependency rather than latex itself, but I
am not sure how to isolate this
Thanks for the help!
--
Ticket URL: <https://trac.macports.org/ticket/28160>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list