Enrico Scholz wrote:
after replacing .so files with linker scripts, I get
| ldconfig: /usr/lib64/libxmlrpc_client.so is not an ELF file - it has the
| wrong magic bytes at the start.
from /sbin/ldconfig calls. File above is
| $ ls -l /usr/lib64/libxmlrpc_client.so
| -rw-r--r--. 1 root root 108 15. Feb 22:34 /usr/lib64/libxmlrpc_client.so
| $ cat /usr/lib64/libxmlrpc_client.so
| INPUT(/usr/lib64/libxmlrpc_client.so.3
| AS_NEEDED(/usr/lib64/libxmlrpc.so.3 /usr/lib64/libxmlrpc_util.so.3)) $
Other linker scripts have a similar format and same permissions but do
not create this warning.
What am I doing wrong?
Check the library's DT_SONAME field, it should be libxmlrpc.so.3, not
libxmlrpc.so (which I suspect it is).
Kevin Kofler