[NeXus-tech] library versioning by file name

Pete R. Jemian prjemian at gmail.com
Wed Feb 24 21:01:39 GMT 2010


As we say: "I have no dog in this fight."
Sounds OK by me.

On 2/24/2010 8:24 PM, freddie.akeroyd at stfc.ac.uk wrote:
> These are the notes for using libtool to do it
>
> http://www.gnu.org/software/libtool/manual/html_node/Versioning.html#Versioning
>
> http://www.gnu.org/software/libtool/manual/html_node/Release-numbers.html#Release-numbers
>
> we have currently been using a default -version-info of “0:0:0” (hence
> libNeXus.so.0.0.0 and an internal soname of libNeXus.so.0)
>
> If I set the -version-info to “4:2:4” then we get a library name of
> libNeXus.so.0.4.2 with an internal soname also of libNeXus.so.0 and
> hence no break in previous application compatibility
>
> If we want to have libNeXus.so.4.2.0 then we need to do it by hand and
> set an soname of libNeXus.so.4 (but leaving a libnexus.so.0 around so as
> not to break compatibility). The advantage of libtool is that it will
> handle windows and mac versioning for us, but at the expense of slightly
> worse visible version numbers.
>
> What do people think
>
> BTW I have added a NXgetversion function
>
> Freddie
>
>
> --
> Scanned by iCritical.
>
>
>
>
> _______________________________________________
> NeXus-tech mailing list
> NeXus-tech at nexusformat.org
> http://lists.nexusformat.org/mailman/listinfo/nexus-tech

-- 
----------------------------------------------------------
  Pete R. Jemian, Ph.D.                <jemian at anl.gov>
  Beam line Controls and Data Acquisition, Group Leader
  Advanced Photon Source,   Argonne National Laboratory
  Argonne, IL  60439                   630 - 252 - 3189
-----------------------------------------------------------
     Education is the one thing for which people
        are willing to pay yet not receive.
-----------------------------------------------------------


More information about the NeXus-tech mailing list