C and Perl bindings seems to be working OK.
And Now for Something Completely Different:
Seems like "expat" dependency was missing from my "rpmio" library:
ImportError:
dlopen(/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/site-packages/rpm/_rpmmodule.so, 2): Symbol not found:
_XML_ErrorString
Referenced from: /usr/local/lib/librpmio-5.0.dylib
Expected in: flat namespace
For some reason, indirect dependencies with autotools are not working
with "secondary" dependencies ? It is able to add -lneon, but misses on
-lexpat (which is required by libneon.a). The -L directory is added OK
for expat, so it is the -lexpat that is missing. The libneon.la file
does include libexpat.la and the libexpat.la file does contain
libexpat.a (only), but this never makes it to $CC. Trying to find out
where it is getting lost, but in the meantime I need to rebuild rpmio
library with an explit extra -lexpat added... (hope that the deadstrip
works) Somehow I think this might be related to the "shameless
workaround" having to add -lssl and -lcrypto for neon ?
--anders
PS. It works OK when linking dynamically, as from e.g. MacPorts
Received on Sun Aug 26 09:52:44 2007