Rafael Sousa (Ext_Altior) wrote:
Hi all!
How can I change the name of the library that results from compiling
Xerces?

You will probably have to modify the Makefiles by hand.

When I compile Xerces, I get a library named libxerces-c.so.27.0, and 2
symbolic links referencing this library, named libxerces-c.so.27 and
libxerces-c.so. But why is this? Can't I just compile it directly to a
library named libxerces-c.so ?

You don't state your platform, but this is a very typical naming scheme for ELF executables.

This question might seem strange, but apparently just renaming the file
(from libxerces-c.so.27.0 to libxerces-c.so.27), isn't enough. When I
try to run a program that references the renamed libxerces-c.so (whose
makefile has -lxerces-c), I'm getting errors that ask for
libxerces-c.so.27...

No, because the SONAME "libxerces-c.so.27" is embedded in the executable. I believe this is changing for 3.0, but I'm not sure what the state of that branch is.

Dave

Reply via email to