Hi Oliver and Roger, First of all, thank you very much for your help.
I didn't know that the library was available in the Ubuntu repository. I have installed the libxerces-c-dev library (version is 3.1.3) with the package manager since I find it more convenient than dealing with the environment variables myself. Is there much difference between the 3.1 and 3.2 versions in general? Are there any known critical changes that affect SAXCount? The only problem that I have now is uninstalling the 3.2 version that I built from source to avoid any clashes with version 3.1 I have tried with: $ sudo make uninstall but I get the error: star@galaxy:~/xerces-c-3.2.0$ sudo make uninstall make: *** No rule to make target 'uninstall'. Stop. >From this error I infer that there is no uninstall rule built into the package. In this post <https://askubuntu.com/questions/87111/if-i-build-a-package-from-source-how-can-i-uninstall-or-remove-completely> I have read that I can check the installation steps with $ make -n install And then try to reverse them manually, which seems challenging and time-consuming. Is there an "easier" way to remove version 3.2? Thanks again. Best regards, Álvaro 2018-02-13 16:58 GMT+01:00 <rle...@codelibre.net>: > On 2018-02-13 15:03, Stutz Oliver wrote: > >> Dear Álvaro, >> >> Do you have the compiled libxerces-c-3.2.so library in LIBPATH? >> I would suggest that you echo the LIBPATH and check where your library >> is. The problem seems to be that your binary can't find the shared >> object file which you have compiled manually. >> > > The run-time linker ld.so needs to be able to find the library. The > directory containing the library needs to be on the system library search > path (add the path to a new file in /etc/ld.so.conf.d), or in the > LD_LIBRARY_PATH environment variable. > > If you're using Ubuntu, just "sudo apt install libxerces-c-dev" to get the > version provided by the distribution (probably 3.1, which should be fine if > you don't need 3.2-specific changes). > > > Regards, > Roger >