cmake so versioning issue

Ankur Sinha sanjay.ankur at gmail.com
Wed Jul 13 15:06:15 UTC 2011


On Wed, 2011-07-13 at 09:30 -0500, Richard Shaw wrote:
> On Wed, Jul 13, 2011 at 9:18 AM, Ankur Sinha <sanjay.ankur at gmail.com> wrote:
> > On Tue, 2011-07-12 at 13:54 -0500, Richard Shaw wrote:
> > Hi Richard,
> >
> > That didn't work either :/
> 
> I was going purely by the patch and I'm certainly not a cmake expert
> but this did work for me on a new package I'm working on...
> 
> 
> > I decided to hack it down, and now this is what my spec looks like:
> >
> > http://ankursinha.fedorapeople.org/opennl/OpenNL.spec
> 
> Does that actually set the soversion in the library?
> 
> What does:
> 
> readelf -d <library>.so | grep -i SONAME
> 
> give you?
> 
> An example from my package:
> 
> # readelf -d libpugixml.so | grep -i SONAME
>  0x000000000000000e (SONAME)             Library soname: [libpugixml.so.1.0]
> 
> Thanks,
> Richard

Yep! It does :D

[root at ankur lib]# ls
libopennl.so.3.4.1
[root at ankur lib]# readelf -d libopennl.so.3.4.1 | egrep -i soname
 0x0000000e (SONAME)                     Library soname:
[libopennl.so.3]


-- 
Thanks, 
Regards,
Ankur: "FranciscoD"

http://fedoraproject.org/wiki/User:Ankursinha
http://dodoincfedora.wordpress.com/




More information about the devel mailing list