#14554 closed defect (fixed)
Gimp jp2 plugin fails
Reported by: | dershow | Owned by: | rhwood@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
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 (5)
comment:1 Changed 17 years ago by jmroot (Joshua Root)
Milestone: | → Port Bugs |
---|
comment:2 Changed 17 years ago by rhwood@…
Owner: | changed from macports-tickets@… to rhwood@… |
---|
comment:3 Changed 16 years ago by dbevans (David B. Evans)
Keywords: | j2k added; jp2 removed |
---|---|
Port: | gimp-jp2 added |
comment:4 Changed 16 years ago by dbevans (David B. Evans)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in r40982.
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.