How to package .so linker scripts?

Enrico Scholz enrico.scholz at informatik.tu-chemnitz.de
Sat Feb 20 11:39:56 UTC 2010


Kevin Kofler <kevin.kofler at chello.at> writes:

>> | ldconfig: /usr/lib64/libxmlrpc_client.so is not an ELF file - it has the
>> | wrong magic bytes at the start.
> ...
> Check the library's DT_SONAME field, it should be libxmlrpc.so.3, not 
> libxmlrpc.so (which I suspect it is).

should be ok:

$ readelf -a /usr/lib64/libxmlrpc*.so.3 | grep SON
 0x000000000000000e (SONAME)             Library soname: [libxmlrpc.so.3]
 0x000000000000000e (SONAME)             Library soname: [libxmlrpc_abyss.so.3]
 0x000000000000000e (SONAME)             Library soname: [libxmlrpc_client.so.3]
 0x000000000000000e (SONAME)             Library soname: [libxmlrpc_server.so.3]
 0x000000000000000e (SONAME)             Library soname: [libxmlrpc_server_abyss.so.3]
 0x000000000000000e (SONAME)             Library soname: [libxmlrpc_server_cgi.so.3]
 0x000000000000000e (SONAME)             Library soname: [libxmlrpc_util.so.3]


Enrico


More information about the devel mailing list