Hi,
I am the Debian GNU/Linux xerces-c maintainer. I've noticed that the
build process does not set the soname of the library. Why is that ?
Soname is there to tell us whether ABI has changed.
Would it be possible to xerces to set the soname of the library to
ensure that we know when the ABI has changed ? Would it be possible that
every minor revision keeps the ABI unchanged (e.g 1.5.1 -> 1.5.2) ?
Indeed, at each new revision which breaks the ABI, we must package it
under a new name or recompile every program which depends on it. Both
are painful.
Please tell me if I am missing something (I am far from being a shared
library guru).
FYI, we apply this sort of patches for Debian build system :
-MAKE_SHARED = ${CXX} -D${PLATFORM} -shared -fPIC ${LDFLAGS}
-MAKE_SHARED_C = ${CC} -D${PLATFORM} -shared -fPIC ${LDFLAGS}
+MAKE_SHARED = ${CXX} -D${PLATFORM} -shared -fPIC ${LDFLAGS} -Wl,-soname,${SONAME}
+MAKE_SHARED_C = ${CC} -D${PLATFORM} -shared -fPIC ${LDFLAGS} -Wl,-soname,${SONAME}
On Linux, the shared lib naming convention is libname.so.soname (e.g
xerces-c 1.5.2 is shipped as libxerces-c.so.1.5.2
TIA.
--
Guillaume Morin <[EMAIL PROTECTED]>
Marianne rebelle me disait qu'elle est plus jolie m�tiss�e (Noir D�sir)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]