[ptx] libpano12 - build with GNU autoconf, automake and libtool

Andreas Hirczy ahi at itp.tugraz.at
Mon Nov 8 10:22:06 GMT 2004


Bruno Postle <bruno at postle.net> writes:

> On Mon 08-Nov-2004 at 09:11 +0100, Andreas Hirczy wrote:
> 
> > Are all programms expecting libpano12 header files in pano12/?
> 
> The library header files have just always been installed into
> pano12.  It seems to be a common practice for other libraries.

I have changed my setup to write header files to $(prefix)/include/pano12 - I
wasn't sure, since the provided "makefile.*" do not install header files at
all. <http://itp.tugraz.at/~ahi/download/libpano12-autotools-2004-11-08.tar>

> > >     libpano12.so -> libpano12.so.0.0.0
> > >     libpano12.so.0 -> libpano12.so.0.0.0
> > >     libpano12.so.0.0.0
> 
> > No - those numbers do not reflect version numbers for the source
> > code, but "library interface versions". There are always three
> > numbers and each has its own special meaning:
> > <http://www.gnu.org/software/libtool/manual.html#SEC34>
> 
> Thanks that's enlightening.
> 
> Since the version of the library is '2.7.whatever' which is api
> compatible with other 2.x versions, I suppose the three numbers
> should be 2.7.0?

2:7:0 looks correct, if the interface was never changed since 2.0.0. But rule
nr 4 in <http://www.gnu.org/software/libtool/manual.html#SEC35> indicates,
that "current" will increase faster than the major release number.

Information on including a release number like 2.7.0.7 is in
<http://www.gnu.org/software/libtool/manual.html#SEC36> - the library will then be
called libpano12-2.7.0.7.so

I just checked on my system, library naming is a big mess here.

ciao,
Andreas
-- 
Andreas Hirczy <ahi at itp.tugraz.at>                   http://itp.tugraz.at/~ahi/
Graz University of Technology                          phone: +43/316/873-81 90
Institute of Theoretical and Computational Physics       fax: +43/316/873-86 78
Petersgasse 16, A-8010 Graz                         mobile: +43/699/19 14 24 60


More information about the ptX mailing list