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

Bug#652160: libstdc++6-4.6-dbg: ldconfig complains about /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16-gdb.py



reassign 652160 libstdc++6-4.6-dbg
found 652160 4.6.2-9
thanks

On Thu, Dec 15, 2011 at 03:30:44PM +0100, Matthias Klose wrote:
> reassign 652160 eglibc
> thanks
> 
> On 12/15/2011 11:10 AM, Christoph Anton Mitterer wrote:
> > Package: libstdc++6-4.6-dbg
> > Version: 4.6.2-7
> > Severity: normal
> > 
> > 
> > Hi.
> > 
> > Since some time ldconfig always complains about:
> > ldconfig: /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16-gdb.py is not an ELF file - it has the wrong magic bytes at the start.
> > 
> > Any idea?
> 
> ldconfig shouldn't warn about these.
> 

It should, and it is actually useful it does, so that people can detect
corrupted files.

/usr/lib as well as /usr/lib/x86_64 are directory designed to contain
libraries, not random python scripts. gdb support loading this kind of
file from various places:
- /usr/lib/debug/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16.debug-gdb.py
- /usr/lib/debug/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16.gdb.py
- /usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16.gdb.py

Please use one of them to put this script, there is no real reason to
pollute /usr/lib or /usr/lib/x86_64.

-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net



Reply to: