Menu

#10 bad shared library numbering

open
nobody
None
5
2009-04-20
2009-04-20
No

version 1.0.0 built the shared library libvisca.so.1.0.0.
version 1.0.1 builds the shared library libvisca.so.0.1.0, which doesn't make sense, as this implies an older, incompatible version of the library

configure.in has:
# set the libtool shared library version numbers
lt_major=1
lt_revision=0
lt_age=1

it should be:
# set the libtool shared library version numbers
lt_major=1
lt_revision=1
lt_age=0

lt_age shouldn't be changed unless lt_major changes. it reflects the degree of backward compatibility between major versions.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB