cmake so versioning issue

Richard Shaw hobbes1069 at gmail.com
Wed Jul 13 14:30:30 UTC 2011


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


More information about the devel mailing list