Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#17906 closed defect (invalid)

texlive-2007_6 not sufficient dependiencies to libpng

Reported by: haf@… Owned by: milosh@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), waqar@…
Port: texlive

Description

Installing texlive works. However, running pdflatex with including png images fails with this error message:

dyld: Library not loaded: /opt/local/lib/libpng12.0.dylib
  Referenced from: /opt/local/bin/pdflatex
  Reason: Incompatible library version: pdflatex requires version 35.0.0 or later, but libpng12.0.dylib provides version 33.0.0
Trace/BPT trap

Searching for libpng, it says there is only libpng @1.2.34 available (and here installed).

Change History (5)

comment:1 Changed 16 years ago by jmroot (Joshua Root)

Cc: ryandesign@… waqar@… added
Owner: changed from macports-tickets@… to milosh@…
Port: texlive added

Strange, I have libpng @1.2.34_0 installed here and otool -L tells me:

/opt/local/lib/libpng12.0.dylib (compatibility version 35.0.0, current version 35.0.0)

What does port installed libpng say for you?

comment:2 Changed 16 years ago by haf@…

Dunno why's wrong here:

$ port installed libpng
The following ports are currently installed:
  libpng @1.2.34_0 (active)
$ otool -L /opt/local/lib/libpng12.0.dylib 
/opt/local/lib/libpng12.0.dylib:
	/opt/local/lib/libpng12.0.dylib (compatibility version 33.0.0, current version 33.0.0)
	/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.10)
flexray:~ haf$ otool -L /opt/local/lib/libpng12.dylib 
/opt/local/lib/libpng12.dylib:
	/opt/local/lib/libpng12.0.dylib (compatibility version 33.0.0, current version 33.0.0)
	/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.10)
flexray:~ haf$ otool -L /opt/local/lib/libpng12.0.dylib 
/opt/local/lib/libpng12.0.dylib:
	/opt/local/lib/libpng12.0.dylib (compatibility version 33.0.0, current version 33.0.0)
	/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.10)

comment:3 Changed 16 years ago by haf@…

Forcing uninstall of libpng and reinstalling the same version fixes it:

$ otool -L /opt/local/lib/libpng12.0.dylib 
/opt/local/lib/libpng12.0.dylib:
	/opt/local/lib/libpng12.0.dylib (compatibility version 35.0.0, current version 35.0.0)

This is a pretty strange behavior...

comment:4 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

comment:5 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.