Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#37996 closed defect (fixed)

emacs, emacs22, emacs23 +x11: dyld: Library not loaded: /opt/local/lib/libjpeg.8.dylib

Reported by: bgschaid@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: cooljeanius (Eric Gallager), drkp (Dan Ports)
Port: emacs, emacs22, emacs23

Description

After the fixes applied in #37984 a number of ports is still broken by the upgrade from JPEG 8 to JPEG 9. From a comment in the mentioned bug:

Still doesn't work for me (did a "port selfupdate"). emacs reports

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

Iif I try to trick it into accepting the new library with a symbolic link to libjpeg.9.dylib it fails with

 Reason: Incompatible library version: emacs requires version 13.0.0 or later, but libjpeg.8.dylib provides version 10.0.0

Upgrading anything reports

 --->  Scanning binaries for linking errors: 100.0%
 --->  Found 65 broken file(s), matching files to ports
 --->  Found 13 broken port(s), determining rebuild order

then these ports are "only" cleaned (emacs) or they fail during building (gnuplot).

OS is 10.8.2 and XCode is 4.6. Did a "port selfupdate" before reporting this and the problem stays.

Currently I'm working around by activating old versions of jpeg and tiff

Change History (5)

comment:1 Changed 12 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: dports@… added
Owner: changed from macports-tickets@… to ryandesign@…
Port: emacs emacs22 emacs23 added; jpeg removed
Priority: HighNormal
Status: newassigned
Summary: jpeg 9 upgrade in r102822 and following fixes breaks other portsemacs, emacs22, emacs23 +x11: dyld: Library not loaded: /opt/local/lib/libjpeg.8.dylib

You should not attempt to circumvent library version numbering by creating symlinks. Please delete any symlinks you created.

This ticket can be about emacs ports needing a revision bump for jpeg 9. Please file additional tickets for other ports that need this.

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

comment:4 in reply to:  2 Changed 12 years ago by bgschaid@…

Replying to ryandesign@…:

You should not attempt to circumvent library version numbering by creating symlinks. Please delete any symlinks you created.

I know. It was just a desperate measure to get the program I mainly work with to work again (didn't expect a problem with it when

This ticket can be about emacs ports needing a revision bump for jpeg 9. Please file additional tickets for other ports that need this.

"port rev-upgrade" reports these ports after activating v9 of jpeg (will report gnuplot and gs as I can easily the problem there)

--->  Scanning binaries for linking errors: 100.0%
--->  Found 91 broken file(s), matching files to ports
--->  Found 14 broken port(s), determining rebuild order
--->  Rebuilding in order
     tiff @3.9.7 
     ghostscript @9.06 
     emacs @24.2 +gtk+x11
     gnuplot @4.6.1 +aquaterm+emacs+luaterm+pangocairo+x11
     lcms @1.19 
     py27-pil @1.1.7 
     libmng @1.0.10 
     qt4-mac @4.8.4 
     netpbm @10.60.01 
     graphviz @2.30.0 
     poppler @0.22.0 
     rpm @4.4.9 
     ImageMagick @6.8.0-2 +graphviz+q16
     synfig @0.63.05 

comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Most of those were already addressed in r102822 when jpeg was updated to version 9 so those ports should already be showing up as outdated on your system, and a rebuild should fix them. Same with emacs which was addressed in r102845. rpm is a package management system and does not use graphics, so that's probably a different reason; please file a ticket. Please also file a ticket for synfig.

Note: See TracTickets for help on using tickets.