I'm trying to dlopen a library that in turn uses libxerces-c to do sax2 parsing.
However, as soon as I add the #include <xercesc/sax2/Attributes.hpp> #include <xercesc/sax2/DefaultHandler.hpp> #include <xercesc/sax2/SAX2XMLReader.hpp> #include <xercesc/sax2/XMLReaderFactory.hpp> #include <xercesc/util/PlatformUtils.hpp> to the code in the applicaiton .so, and then add the -lxerces-c to the LDADD clause in my Makefile.am, I get a "Permisison Denied" error from my dlopen() call. Any ideas? Do I somehow have to generate a static library for xerces-c and link my dynamically loaded .so against that? If so, how do I go about doing that from the src rpm? I've looked around but cant' quite spot the magic incantation to use when calling runConfigure.
