0

I'm using xerces(http://xerces.apache.org) lib to parse a XML file in C++, so I downloaded the source code, ran a ./configure, make, make install, so when I execute g++ -o parser parser.cpp and I execute ./parser, I get: ./parser: error while loading shared libraries: libxerces-c-3.1.so: cannot open shared object file. No such file or directory.

When I search into /usr/lib or /lib I can't find where libxerces-c-3.1.so did go, nor where libxerces-c-3.1.so is. Does someone know how could I solve that problem?

4

1 に答える 1

0

Did you try running ldconfig command? ldconfig examples The only thing that I can think of is some issue with symbolic links, if it has crossed linking successfully.

Related question :https://stackoverflow.com/questions/480764/linux-error-while-loading-shared-libraries-cannot-open-shared-object-file-no-s

于 2012-06-14T16:54:09.760 に答える