Tim Harper created MESOS-5714:
---------------------------------
Summary: Specify soname for libmesos.so to major release
Key: MESOS-5714
URL: https://issues.apache.org/jira/browse/MESOS-5714
Project: Mesos
Issue Type: Improvement
Components: build
Affects Versions: 0.28.2
Reporter: Tim Harper
I've installed mesos using the CentOS 7 package, and am building the Ceph-Mesos
framework. I've noticed when running {{ldd}} that {{ceph-mesos}} is depending
on too specific of a version of libmesos, which means that the build will be
broken on subsequent point releases.
This seems to be because the {{soname}} for libmesos is set to a very
unforgiving value. If {{libmesos-0.28.2}} truly isn't ABI compatible with
{{libmesos-0.28.x}}, then I suppose this is set correctly and this ticket
should be closed summarily, albeit unfortunate.
Here is the {{readelf}} output for {{libmesos}}
{code}
[root@6e189e07b470 /]# readelf -d /usr/local/lib/libmesos-0.28.2.so
Dynamic section at offset 0x194cd18 contains 43 entries:
Tag Type Name/Value
0x0000000000000001 (NEEDED) Shared library: [libcrypt.so.1]
0x0000000000000001 (NEEDED) Shared library: [libexpat.so.1]
0x0000000000000001 (NEEDED) Shared library: [libdb-5.3.so]
0x0000000000000001 (NEEDED) Shared library: [libsasl2.so.3]
0x0000000000000001 (NEEDED) Shared library: [libsvn_delta-1.so.0]
0x0000000000000001 (NEEDED) Shared library: [libsvn_subr-1.so.0]
0x0000000000000001 (NEEDED) Shared library: [libaprutil-1.so.0]
0x0000000000000001 (NEEDED) Shared library: [libapr-1.so.0]
0x0000000000000001 (NEEDED) Shared library: [libpthread.so.0]
0x0000000000000001 (NEEDED) Shared library: [libdl.so.2]
0x0000000000000001 (NEEDED) Shared library: [libcurl.so.4]
0x0000000000000001 (NEEDED) Shared library: [libz.so.1]
0x0000000000000001 (NEEDED) Shared library: [librt.so.1]
0x0000000000000001 (NEEDED) Shared library: [libstdc++.so.6]
0x0000000000000001 (NEEDED) Shared library: [libm.so.6]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
0x0000000000000001 (NEEDED) Shared library: [ld-linux-x86-64.so.2]
0x0000000000000001 (NEEDED) Shared library: [libgcc_s.so.1]
0x000000000000000e (SONAME) Library soname: [libmesos-0.28.2.so]
0x000000000000000f (RPATH) Library rpath: [/usr/lib/mesos]
0x000000000000000c (INIT) 0x92a1f0
0x000000000000000d (FINI) 0x13a8e94
0x0000000000000019 (INIT_ARRAY) 0x1ae8888
0x000000000000001b (INIT_ARRAYSZ) 1712 (bytes)
0x000000000000001a (FINI_ARRAY) 0x1ae8f38
0x000000000000001c (FINI_ARRAYSZ) 8 (bytes)
0x000000006ffffef5 (GNU_HASH) 0x228
0x0000000000000005 (STRTAB) 0x1b0be8
0x0000000000000006 (SYMTAB) 0x66a08
0x000000000000000a (STRSZ) 6130210 (bytes)
0x000000000000000b (SYMENT) 24 (bytes)
0x0000000000000003 (PLTGOT) 0x1b66000
0x0000000000000002 (PLTRELSZ) 387000 (bytes)
0x0000000000000014 (PLTREL) RELA
0x0000000000000017 (JMPREL) 0x8cba38
0x0000000000000007 (RELA) 0x7a5018
0x0000000000000008 (RELASZ) 1206816 (bytes)
0x0000000000000009 (RELAENT) 24 (bytes)
0x000000006ffffffe (VERNEED) 0x7a4e38
0x000000006fffffff (VERNEEDNUM) 8
0x000000006ffffff0 (VERSYM) 0x78960a
0x000000006ffffff9 (RELACOUNT) 1357
0x0000000000000000 (NULL) 0x0
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)