#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 19 years ago by n3npq@…
comment:2 Changed 19 years ago by osx@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
(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.
rpm-4.4.2 uses libneon which needs expat or libxml2, yes.
rebuilding libxml2 and neon, then rebuilding rpm should fix your problem.