public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* /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
@ 2014-08-07 11:02 YuGiOhJCJ Mailing-List
  2014-08-07 15:26 ` Jonathan Wakely
  0 siblings, 1 reply; 2+ messages in thread
From: YuGiOhJCJ Mailing-List @ 2014-08-07 11:02 UTC (permalink / raw)
  To: gcc-help

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: /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
  2014-08-07 11:02 /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 15:26 ` Jonathan Wakely
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Wakely @ 2014-08-07 15:26 UTC (permalink / raw)
  To: YuGiOhJCJ Mailing-List; +Cc: gcc-help

On 7 August 2014 12:02, YuGiOhJCJ Mailing-List wrote:
> 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?

Because it assumes all files in /usr/lib are ELF files, and that file is not.

You can safely ignore it.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-07 15:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-07 11:02 /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 15:26 ` Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).