Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #14554 (closed defect: fixed)

Opened 9 months ago

Last modified 7 weeks ago

Gimp jp2 plugin fails

Reported by: dersh@… Owned by: rhwood@…
Priority: Normal Milestone: Port Bugs
Component: ports Version: 1.6.0
Keywords: gimp j2k jpeg2000 openjpeg Cc:
Port: gimp-jp2

Description

GIMP depends on gimp-jp2 which in turn depends on OpenJPEG. The problem is that when I open GIMP my system.log shows errors: Mar 3 13:31:04 macintosh [0x0-0x7c07c].org.gimp.Gimp[72494]: dyld: Library not loaded: /opt/local/lib/libopenjpeg-2.1.2.0.dylib Mar 3 13:31:04 macintosh [0x0-0x7c07c].org.gimp.Gimp[72494]: Referenced from: /opt/local/lib/gimp/2.0/plug-ins/jp2 Mar 3 13:31:04 macintosh [0x0-0x7c07c].org.gimp.Gimp[72494]: Reason: image not found Mar 3 13:31:04 macintosh ReportCrash[72506]: Formulating crash report for process jp2[72505]

I figured that it was just an issue of openjpeg not creating an appropriate link. So I took a guess and tried this: sudo ln -s /opt/local/lib/libopenjpeg.dylib /opt/local/lib/libopenjpeg-2.1.2.0.dylib

But then I get this error instead: Mar 3 13:33:02 macintosh [0x0-0x7e07e].org.gimp.Gimp[72518]: dyld: Library not loaded: /opt/local/lib/libopenjpeg-2.1.2.0.dylib Mar 3 13:33:02 macintosh [0x0-0x7e07e].org.gimp.Gimp[72518]: Referenced from: /opt/local/lib/gimp/2.0/plug-ins/jp2 Mar 3 13:33:02 macintosh [0x0-0x7e07e].org.gimp.Gimp[72518]: Reason: Incompatible library version: jp2 requires version 2.0.0 or later, but libopenjpeg-2.1.2.0.dylib provides version 0.0.0 Mar 3 13:33:02 macintosh ReportCrash[72530]: Formulating crash report for process jp2[72529] Mar 3 13:33:02 macintosh ReportCrash[72530]: Saved crashreport to /Users/dersh/Library/Logs/CrashReporter/

But the other strange thing is that according to www.openjpeg.org the newest version of this library is 1.3 and macports has 1.2R3. But the jp2 error above says that it wants 2.0.0 and that the installed one is 0.0.0. So there is some mismatch going on between versions and such. But the bottom line is that I can't get gimp to use the jp2 plug-in.

Any suggestions or guidance would be appreciated.

Change History

Changed 9 months ago by jmr@…

  • milestone set to Port Bugs

Changed 7 months ago by rhwood@…

  • owner changed from macports-tickets@… to rhwood@…

Changed 7 weeks ago by devans@…

  • keywords j2k added; jp2 removed
  • port set to gimp-jp2

Randall are you still following this? OpenJPEG is now upgraded to 1.3 but this problem remains. However, the patch to openjpeg submitted in #16868 should fix this when committed.

Changed 7 weeks ago by devans@…

  • status changed from new to closed
  • resolution set to fixed

Fixed in r40982.

Note: See TracTickets for help on using tickets.