How to package .so linker scripts?

Enrico Scholz enrico.scholz at
Sat Feb 20 09:55:45 UTC 2010


after replacing .so files with linker scripts, I get

| ldconfig: /usr/lib64/ 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/
| -rw-r--r--. 1 root root 108 15. Feb 22:34 /usr/lib64/
| $ cat /usr/lib64/
| INPUT(/usr/lib64/ AS_NEEDED(/usr/lib64/ /usr/lib64/
| $

Other linker scripts have a similar format and same permissions but do
not create this warning.

What am I doing wrong?


More information about the devel mailing list