[ expat-Bugs-484233 ] libexpat.so major version

noreply@sourceforge.net noreply@sourceforge.net
Fri May 31 14:57:03 2002


Bugs item #484233, was opened at 2001-11-21 11:28
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=484233&group_id=10127

Category: Build control
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 6
Submitted By: Ed Avis (epaepa)
>Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: libexpat.so major version

Initial Comment:
The newer expat releases build a shared library, but
they decide to call it libexpat.so.0.  Surely since the
expat version itself is 1.95, the library should be
installed as libexpat.so.1.95 and libexpat.so.1?

It is certainly a bit odd to pick the major number
zero; third parties who have built shared libraries
from older  expat distributions probably chose 1, so it
looks like the version number is going downwards.

Suggest making the shared library version match the
expat version, and increasing the major soname when
backwards-incompatible API changes are introduced.

----------------------------------------------------------------------

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-05-31 17:56

Message:
Logged In: YES 
user_id=3066

Ok, I've read up on shared library versioning and the libtool 
recommendations.  The lib version does need to be bumped for Expat 
1.95.3 (done in configure.in revision 1.30).

The specific 
recommendation in bug report is not correct for Unix shared libraries; 
libtool already provides the right functionality to allow the library version 
to be specified in an abstract manner.

Closing the bug as fixed, 
since a change was needed.

----------------------------------------------------------------------

Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-05-30 23:49

Message:
Logged In: YES 
user_id=3066

Greg, can you address this report please?

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=484233&group_id=10127