Discussion:
/sbin/ldconfig: /usr/lib/libstdc++.so.6.0.20-gdb.py is not an ELF file - it has the wrong magic bytes at the start
YuGiOhJCJ Mailing-List
2014-08-07 11:02:24 UTC
Permalink
Hello,

After upgrading the gcc compiler of my system from gcc-4.8.2 to gcc-4.9.1, I got this error while running the "ldconfig" command:
$ sudo ldconfig
/sbin/ldconfig: /usr/lib/libstdc++.so.6.0.20-gdb.py is not an ELF file - it has the wrong magic bytes at the start

The /usr/lib/libstdc++.so.6.0.20-gdb.py file is part of my new gcc-4.9.1 package.

Why ldconfig complains please?

Thank you.
Best regards.
Jonathan Wakely
2014-08-07 15:26:04 UTC
Permalink
Post by YuGiOhJCJ Mailing-List
Hello,
$ sudo ldconfig
/sbin/ldconfig: /usr/lib/libstdc++.so.6.0.20-gdb.py is not an ELF file - it has the wrong magic bytes at the start
The /usr/lib/libstdc++.so.6.0.20-gdb.py file is part of my new gcc-4.9.1 package.
Why ldconfig complains please?
Because it assumes all files in /usr/lib are ELF files, and that file is not.

You can safely ignore it.

Loading...