Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#7937 closed defect (fixed)

rpm does not work because of library dependency to os x (libexpat too old)

Reported by: osx@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc: n3npq@…
Port:

Description

after compiling the rpm package it does not start: [fw @ delta 1]~ % rpm dyld: Library not loaded: /opt/local/lib/libexpat.0.dylib

Referenced from: /opt/local/bin/rpm Reason: Incompatible library version: rpm requires version 6.0.0 or later, but libexpat.0.dylib provides version 2.0.0

i dont know why i have such an old version installed. i just upgraded my os x all the time and now i am a little bit surprised to see that i am 4(!) majors behind the requested version.

Change History (3)

comment:1 Changed 15 years ago by n3npq@…

rpm-4.4.2 uses libneon which needs expat or libxml2, yes.

rebuilding libxml2 and neon, then rebuilding rpm should fix your problem.

comment:2 Changed 15 years ago by osx@…

Resolution: fixed
Status: newclosed

(In reply to comment #1)

rpm-4.4.2 uses libneon which needs expat or libxml2, yes.

rebuilding libxml2 and neon, then rebuilding rpm should fix your problem.

ouch! sorry i was too fast. of course the required lib was one of the port system. /op/local/..! i was so surprised that i only read the name but not the path. of course i did not upgrade all of the installed ports recently and yes it is fixed. thanks for pointing out my own silliness. next time i will be more accurate. sorry for the inconvinience.

comment:3 Changed 15 years ago by n3npq@…

np ;-)

Note: See TracTickets for help on using tickets.