/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.14-gdb.py is not an ELF file

Bug #956610 reported by Benjamin Drung on 2012-03-16
74
This bug affects 14 people
Affects Status Importance Assigned to Milestone
gcc-4.5 (Ubuntu)
Undecided
Unassigned

Bug Description

/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.14-gdb.py triggers a /sbin/ldconfig.real warning every time a library is installed or removed by apt:

/sbin/ldconfig.real: /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.14-gdb.py is not an ELF file - it has the wrong magic bytes at the start.

BryanMohr (jbryanmohr) wrote :

/sbin/ldconfig.real: /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.14-gdb.py is not an ELF file - it has the wrong magic bytes at the start

Happens to me too ...

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gcc-4.5 (Ubuntu):
status: New → Confirmed
Ruslanas (smint) wrote :

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
/sbin/ldconfig.real: /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.14-gdb.py is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig.real: /usr/lib32/libstdc++.so.6.0.14-gdb.py is not an ELF file - it has the wrong magic bytes at the start.

Same for me on 12.04

Is the file in the right directory? Or should it be in /usr/share/gcc-4.5/python/, with references adjusted?

angus73 (angus73) wrote :

Still present in 14.04

Ubfan (ubfan1) wrote :

Well, since libstdc++.so.6.0.14-gdb.py is a Python script, it certainly is NOT an ELF file, so the error message is correct. Now since the file is not a part of Ubuntu, what third party package did you install to get it? On my system, Sage installs a copy, but I did install the Sage files in their own directory, not the system directory, and have never had a problem.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers