> > Is libpython.*.so in /usr/lib64, by chance? > yes In my build I get this (quote from swig/python/_wc.la:)
Not sure what the is about, but in my _wc.la file the only reference to /usr/lib64 is in dependency_libs, which includes /usr/lib64/libexpat.la. My apr-util is built with the internal expat to avoid a dependency on /usr/lib64/libexpat in other libs such as libaprutil, libsvn_subr, etc. because that was bringing in /usr/lib64 which caused the wrong libapr to be found. The internal expat solved that, but the same issue has cropped up again now in the binding libraries. Interestingly all installed libs are correct, it is just an issue before installation. All the installed libs refer to the correct libexpat, libapr, libaprutil.