[vlc-devel] 2.1.0 sonames

Rémi Denis-Courmont remi at remlab.net
Thu Sep 19 19:30:08 CEST 2013


Le jeudi 19 septembre 2013 19:23:36 Steinar H. Gunderson a écrit :
> On Thu, Sep 19, 2013 at 08:11:59PM +0300, Rémi Denis-Courmont wrote:
> > libtool version info does not map directly to the Linux SOVERSION.
> 
> Correct. FWIW, the mapping is that A:B:C becomes .so.(A-C).C.B.
> 
> > From VLC 2.0.6...
> > - libvlc 8:2:3
> > - libvlccore 6:1:1
> > 
> > VLC 2.1.0 should get:
> > - libvlc 9:0:4 (compatible extensions)
> > - libvlccore 7:0:0 (incompatible changes)
> 
> This should map to 5.4.0 and 7.0.0 respectively, but that's not what was
> observed earlier in the thread?

Yeah, the libtool mapping, as you cited above, causes Linux major number to 
jump (by more than one) if the libtool age was non-zero. In this case, 
libvlccore had age 1 since VLC version 2.0.6.

Still, I would rather follow the libtool conventions than perform a reverse 
abstraction with only the Linux port in mind.

-- 
Rémi Denis-Courmont
http://www.remlab.net/




More information about the vlc-devel mailing list