Changes between Initial Version and Version 1 of Ticket #31884


Ignore:
Timestamp:
Nov 4, 2011, 11:14:56 AM (12 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

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.

sudo port selfupdate
sudo port upgrade outdated

If the problem persists, force openjpeg to rebuild:

sudo port -n upgrade --force openjpeg

This is described in wiki:ProblemHotlist#libpng

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31884

    • Property Owner changed from macports-tickets@… to mcalhoun@…
    • Property Cc ryandesign@… added
    • Property Summary changed from opencv @2.3.1a - image not found to openjpeg: Library not loaded: /opt/local/lib/libpng12.0.dylib
    • Property Port openjpeg added; opencv removed
  • Ticket #31884 – Description

    initial v1  
    11Thought an error I was getting with javacv was a javacv problem but I tried to do a simple
     2{{{
    23#include <opencv2/core/core.hpp>
     4}}}
    35
    46I got a very similar error to the one I got with javacv... something about 'image not found'.