Opened 13 years ago
Closed 12 years ago
#31884 closed defect (worksforme)
openjpeg: Library not loaded: /opt/local/lib/libpng12.0.dylib
Reported by: | andrew.c.stewart@… | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | openjpeg |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Thought an error I was getting with javacv was a javacv problem but I tried to do a simple
#include <opencv2/core/core.hpp>
I got a very similar error to the one I got with javacv... something about 'image not found'.
dyld: Library not loaded: /opt/local/lib/libpng12.0.dylib Referenced from: /opt/local/lib/libopenjpeg.1.dylib Reason: image not found
Any idea what this is about?
Change History (2)
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Description: | modified (diff) |
Owner: | changed from macports-tickets@… to mcalhoun@… |
Port: | openjpeg added; opencv removed |
Summary: | opencv @2.3.1a - image not found → openjpeg: Library not loaded: /opt/local/lib/libpng12.0.dylib |
comment:2 Changed 12 years ago by jmroot (Joshua Root)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
This should be fixed by rev-upgrade now if it wasn't fixed before.
Note: See
TracTickets for help on using
tickets.
libpng was upgraded from 1.2.x to 1.4.x a long time ago, and all ports that use libpng should already have been upgraded to newer versions or revisions thus forcing them to rebuild. Specifically, libpng was updated to 1.4.x in January in r75159, and openjpeg was updated to 1.4 in April in r77941 thus rebuilding against the new libpng.
But apparently on your system your openjpeg port has not been rebuilt since libpng was updated. I don't know how that's possible, unless you just haven't been updating your ports. So first, please selfupdate and upgrade all outdated ports.
If the problem persists, force openjpeg to rebuild:
This is described in wiki:ProblemHotlist#libpng