Re: How to package .so linker scripts?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux