Hi Staffan, Can I know which platform are you building your dll? If its UNIX please can you check ldd/chatr on your shared object and give me the o/p?
Thanks and Regards -Brijesh On Tue, Sep 7, 2010 at 4:17 PM, Staffan Tjernstrom <[email protected]>wrote: > 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. >
