nedit problem
Georg Otto
georg.otto at tuebingen.mpg.de
Wed Feb 21 10:25:14 PST 2007
"Daniel J. Luke" <dluke at geeklair.net> writes:
> On Feb 21, 2007, at 12:28 PM, Cedric Luthi wrote:
>> On 21 févr. 07, at 17:18, Georg Otto wrote:
>>> dyld: Library not loaded: /opt/local/lib/libpng12.0.dylib
>>> Referenced from: /opt/local/lib/libXm.4.dylib
>>> Reason: Incompatible library version: libXm.4.dylib requires
>>> version 17.0.0 or later, but libpng12.0.dylib provides version 0.1.2
>>>
>>> Any idea how this can be solved?
>>
>> It seems that you have an old version of libpng.
>
> it's not complaining about libpng but about libXm.4.dylib not being
> able to load libpng.
>
> The problem is probably that he upgraded libpng and libXm is looking
> for the old one.
>
> port provides /opt/local/lib/libXm.4.dylib
>
> will tell you which port is unable to find the libpng it wants.
>
> Then
>
> port uninstall portname
> port clean --all portname
> port install portname
>
> should fix it.
>
I followed your suggestion but I still get the same error. Here is what I did:
$ port provides /opt/local/lib/libXm.4.dylib
/opt/local/lib/libXm.4.dylib is provided by: openmotif
$ port uninstall openmotif
---> Unable to uninstall openmotif 2.3.0-20060106_0+darwin_8, the following ports depend on it:
---> nedit
Error: port uninstall failed: Please uninstall the ports that depend on openmotif first.
$ port uninstall nedit
---> Deactivating nedit 5.4_1+darwin_8
---> Uninstalling nedit 5.4_1+darwin_8
$ port clean --all nedit
---> Cleaning nedit
$ port uninstall openmotif
---> Deactivating openmotif 2.3.0-20060106_0+darwin_8
---> Uninstalling openmotif 2.3.0-20060106_0+darwin_8
$ port clean --all openmotif
---> Cleaning openmotif
$ port install openmotif
---> Fetching openmotif
---> Attempting to fetch openmotif-2.3.0-20060106.tar.gz from ftp://ftp.ics.com
/pub/Products/Motif/om2.3/
---> Verifying checksum(s) for openmotif
---> Extracting openmotif
---> Configuring openmotif
---> Building openmotif with target all
---> Staging openmotif into destroot
---> Installing openmotif 2.3.0-20060106_0+darwin_8
---> Activating openmotif 2.3.0-20060106_0+darwin_8
---> Cleaning openmotif
$ port install nedit
---> Fetching nedit
---> Attempting to fetch nedit-5.4-source.tar.bz2 from ftp://ftp.nedit.org/pub/NEdit/v5_4/
---> Verifying checksum(s) for nedit
---> Extracting nedit
---> Applying patches to nedit
---> Configuring nedit
---> Building nedit with target macosx
---> Staging nedit into destroot
---> Installing nedit 5.4_1+darwin_8
---> Activating nedit 5.4_1+darwin_8
---> Cleaning nedit
$ nedit file.txt
dyld: Library not loaded: /opt/local/lib/libpng12.0.dylib
Referenced from: /opt/local/lib/libXm.4.dylib
Reason: Incompatible library version: libXm.4.dylib requires version 17.0.0 or later, but libpng12.0.dylib provides version 0.1.2
Trace/BPT trap
More information about the macports-users
mailing list