This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[50 character or so descriptive subject here (for reference)]
- To: libc-alpha at sourceware dot cygnus dot com
- Subject: [50 character or so descriptive subject here (for reference)]
- From: pat at PC92 dot centre-cired dot fr
- Date: Thu, 22 Mar 2001 21:30:27 +0100
ldd issue a segmentation fault when used on a libc5 executable and no libc5 installed
>Submitter-Id: net
>Originator: Dumas Patrice
Dumas Patrice
>Organization:
CIRED CNRS
>Confidential: no
>Synopsis: ldd issue a segmentation fault when used on a libc5 executable and no libc5 installed
>Severity: non-critical
>Priority: low
>Category: libc
>Class: sw-bug
>Release: libc-2.1.92
>Environment:
Host type: i686-redhat-linux-gnu
System: Linux PC92.centre-cired.fr 2.2.16-22 #1 Tue Aug 22 16:49:06 EDT 2000 i686 unknown
Architecture: i686
Addons: c_stubs glibc-compat linuxthreads soft-fp
Build CFLAGS: -march=i686 -D__USE_STRING_INLINES -fstrict-aliasing -freorder-blocks -DNDEBUG=1 -g -O3
Build CC: gcc
Compiler version: 2.96 20000731 (experimental)
Kernel headers: 2.4.0-0.26
Symbol versioning: yes
Build static: yes
Build shared: yes
Build pic-default: no
Build profile: yes
Build omitfp: no
Build bounded: no
Build static-nss: no
Stdio: libio
ld-linux.so.1.9.5
ld.so.1.9.5
>Description:
ldd on a libc5 linked elf executable leads to a segmentation fault.
An example of output: (on a libc5 linked bzip2)
$ ldd bzip2
libc.so.5 => not found
./bzip2: can't resolve symbol '_IO_stdout_'
/usr/bin/ldd: line 1: 6170 Erreur de segmentation LD_TRACE_LOADED_OBJECTS=1 LD_WARN= LD_BIND_NOW= LD_LIBRARY_VERSION=$verify_out LD_VERBOSE= "$file"
note that I haven't libc5 installed at that time. Installing it, there wasn't that thing anymore
>How-To-Repeat:
do
$ldd programm
with programm a libc5 linked executable.
>Fix:
install libc5. ldd is correct,then