[ptx] libpano12 - build with GNU autoconf, automake and libtool
Edouard Gomez
ed.gomez at free.fr
Sun Nov 7 17:58:39 GMT 2004
Bruno Postle (bruno at postle.net) wrote:
> - These files and links are created:
>
> libpano12.so -> libpano12.so.0.0.0
> libpano12.so.0 -> libpano12.so.0.0.0
> libpano12.so.0.0.0
>
> I'm not sure, but shouldn't they be something like this:
>
> libpano12.so -> libpano12.so.2.7.0.7
> libpano12.so.2 -> libpano12.so.2.7.0.7
> libpano12.so.2.7.0.7
Nope, you were close but that's not it.
You should have:
libpano12.so -> libpano12.so.2
libpano12.so.2 -> libpano12.so.2.7.0.7
libpano12.so.2.7.0.7
Note that libpano12.so is only meant for developers and should
not be packaged for binary distributions. That way users only
deal with libpano12.so.2, and if devs respect the "don't break
API/ABI if the major lib number doesn't change", then users
will have all their libpano12 dependent progs linked against
libpano12.so.2 by their binary distributor (because when u use
-lpano12 in LDFLAGS, ld solves libpano12.so to libpano12.so.2).
This linking policy is used by most of the linux distributions,
debian (see dfsg, section dealing with lib packages), mandrake,
fedora iirc...
--
Edouard Gomez
More information about the ptX
mailing list