Menu

#55 No soname

0.5.0
closed
nobody
5
2015-03-06
2012-12-22
No

The shared library should have a versionned SONAME to reflect API changes.

Discussion

  • Michael Schwendt

    So, Debian have introduced a SONAME in a patch ( LINKFLAGS='-Wl,-soname,libjsoncpp.so.0' ) calling the library
    libjsoncpp.so.0.6.0: http://packages-powell.debian.org/en/wheezy/armhf/libjsoncpp0/filelist

    The least one can do downstream is to stay in sync with that (e.g. by contacting the Debian maintainer), but if the jsoncpp API/ABI changes, this could quickly inflate the SONAME version.

    Hence it would be strongly recommended that the jsoncpp developers decide which SONAME to use and which versioning scheme. If there are still frequent changes during development, a compromise would be to add the major version of a stable series somewhere, e.g. libjsoncpp-0.6.so.0, which would require dependencies to be rebuilt any time that version changes.

     
  • Christopher Dunn

    • status: open --> closed
    • Group: --> 0.5.0
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.