Hi David!

But do you think that changing the Makefiles by hand so that the
resulting lib is directly named libxerces-c.so, and not
libxerces-c.so.27.0, will solve my problem, i.e., I will no longer get
these kind of errors that ask for libxerces-c.so.27 ?

By the way, my platform is Solaris.

Thanks!

Rafael Sousa

-----Original Message-----
From: David Bertoni [mailto:[EMAIL PROTECTED] 
Sent: sexta-feira, 18 de Novembro de 2005 23:40
To: [email protected]
Subject: Re: Can the Makefile be changed to compile directly only one
library named libxerces-c.so ?

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