Staffan Tjernstrom 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?
It should work. Maybe you do not have enough permissions?
Good luck!
Vitaly