Opened 14 years ago

Closed 14 years ago

#25378 closed defect (worksforme)

texlive-bin: libjpeg.7.dylib not found

Reported by: royger@… Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: texlive, latex, jpeg Cc:
Port: texlive-bin

Description

Hello,

I've just installed the following packets:

texlive +medium texlive-fonts-extra texlive-formats-extra

After installing texlive I've tried the pdflatex command, and everything was working fine. But during the install of texlive-formats-extra, the following error was shown:

dyld: Library not loaded: /opt/local/lib/libjpeg.7.dylib

And after that my whole livetex system is broken, pdflatex is also complaining about this:

royger$ pdflatex dyld: Library not loaded: /opt/local/lib/libjpeg.7.dylib

Referenced from: /opt/local/bin/pdflatex Reason: image not found

Trace/BPT trap

I've just updated MacPorts before the install (port sync, port selfupdate).

Change History (4)

comment:1 Changed 14 years ago by drkp (Dan Ports)

Owner: changed from macports-tickets@… to dports@…
Status: newassigned

comment:2 Changed 14 years ago by drkp (Dan Ports)

Port: texlive-bin added; texlive-formats-extra removed
Priority: HighNormal
Summary: texlive-formats-extra broke texlive installtexlive-bin: libjpeg.7.dylib not found

This problem is with texlive-bin, which provides pdftex and all other binaries; installing texlive-formats-extra probably caused some ports it depended on to be upgraded.

Usually this problem means that some library port (libjpeg?) got upgraded and its dependencies need to be rebuilt, although I'm surprised to see libjpeg.7 anywhere because it was updated to version 8 a while back.

I would try doing a port -f uninstall texlive-bin && port clean texlive-bin && port install texlive-bin first. Let me know whether pdftex works after that.

After things are working, you'll want to deactivate and reactivate texlive-formats-extra to complete the format installation.

comment:3 Changed 14 years ago by royger@…

I've just done a more drastic action

port -f uninstall installed
port clean all
port install texlive

It worked pretty well, and now the system is ok.

comment:4 Changed 14 years ago by drkp (Dan Ports)

Resolution: worksforme
Status: assignedclosed

Well, that's one way to fix it! Probably not the worst, either, given the libjpeg error.

Note: See TracTickets for help on using tickets.