Bill Allombert on Fri, 30 Nov 2012 11:55:42 +0100

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Strange mix of SO version for

On Fri, Nov 30, 2012 at 03:27:04AM +0100, Jan Engelhardt wrote:
> Compiling pari-2.5.3 (the problem goes back to at least 2.5.0) produces 
> a, but uses -Wl,-soname, What is the 
> reason that this obvious mismatch has been put into the Makefile?

There is no mismatch: is the filename, and is the SONAME. They do not have to be identical.

> ( will never be used, because all programs that link to 
> will get the library's SONAME - so.3 - encoded in the 
> DT_NEEDED entries.)

We provide a symlink from .so.3 to for that reason.

All* version use the same SONAME which is so.3.
(* was using so.1, was using so.2).
For a fixed odd n, all* provide the same ABI and so
keep the same SONAME so.(n-1)/2

See this FAQ entry <>
and especially the link