[MacPorts] #30824: xmgr dyld: Library not loaded: /opt/local/lib/libpng12.0.dylib not resolved by posting in description
MacPorts
noreply at macports.org
Tue Aug 16 11:53:26 PDT 2011
#30824: xmgr dyld: Library not loaded: /opt/local/lib/libpng12.0.dylib not resolved
by posting in description
----------------------------+-----------------------------------------------
Reporter: dixond@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.1
Keywords: xmgr | Port: xmgr
----------------------------+-----------------------------------------------
When I enter "xmgr" I get the following
~: xmgr
dyld: Library not loaded: /opt/local/lib/libpng12.0.dylib
Referenced from: /opt/local/lib/libXm.4.dylib
Reason: image not found
Trace/BPT trap
I tried following the steps below, but that didn't help. I am currently
running mac osx 10.6.8.
A command failed to run with a message referring to libpng12.0.dylib
Error message:
dyld: Library not loaded: /opt/local/lib/libpng12.0.dylib
Explanation:
When the libpng port was updated from 1.2.x to 1.4.x, the libpng library
version changed. Software always links against a specific library version,
so the ports you currently have installed that depend on libpng are linked
against a now-nonexistent version of the libpng library. To fix this
problem, all ports that depend on libpng will need to be rebuilt so that
they link with the new version of the libpng library. This may be quite a
few ports.
Workaround:
We have tried to find all affected ports and incremented the revision
number. In most cases a simple upgrade should get them all fixed.
sudo port selfupdate
sudo port upgrade outdated
If this does not help, force a rebuild of the port in question by using
the following command:
sudo port -n upgrade --force $portname
You should also file a ticket against the port in question.
--
Ticket URL: <https://trac.macports.org/ticket/30824>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list