bug-glibc
[Top][All Lists]
Advanced

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

Problems with ld-linux.so.2 when upgrading glibc from 2.2.5 to 2.3.2


From: lu jun
Subject: Problems with ld-linux.so.2 when upgrading glibc from 2.2.5 to 2.3.2
Date: Thu, 18 Sep 2003 12:23:12 -0700 (PDT)

Hi,

When I upgraded my glibc from 2.2.5 to 2.3.2, I met
this problem. 

g++ -v -L/usr/local/glibc-2.3.2/lib
-I/usr/local/glibc-2.3.2/include aggregate_scenarios.c
Reading specs from
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/specs
Configured with: ../gcc-3.3.1/configure
Thread model: posix
gcc version 3.3.1

/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/cc1plus
-quiet -v -I/usr/local/glibc-2.3.2/include
-D__GNUC__=3 -D__GNUC_MINOR__=3
-D__GNUC_PATCHLEVEL__=1 -D_GNU_SOURCE
aggregate_scenarios.c -D__GNUG__=3 -quiet -dumpbase
aggregate_scenarios.c -auxbase aggregate_scenarios
-version -o /tmp/ccpka1Wk.s
GNU C++ version 3.3.1 (i686-pc-linux-gnu)
        compiled by GNU C version 3.3.1.
GGC heuristics: --param ggc-min-expand=64 --param
ggc-min-heapsize=64463
ignoring nonexistent directory "NONE/include"
ignoring nonexistent directory
"/usr/local/i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/glibc-2.3.2/include
 /usr/local/include/c++/3.3.1
 /usr/local/include/c++/3.3.1/i686-pc-linux-gnu
 /usr/local/include/c++/3.3.1/backward
 /usr/local/include

/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/include
 /usr/include
End of search list.
aggregate_scenarios.c:1:1: warning: "_GNU_SOURCE"
redefined
<command line>:4:1: warning: this is the location of
the previous definition

/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/../../../../i686-pc-linux-gnu/bin/as
-V -Qy -o /tmp/ccEiAOhK.o /tmp/ccpka1Wk.s
GNU assembler version 2.13 (i686-pc-linux-gnu) using
BFD version 2.13

/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/collect2
--eh-frame-hdr -m elf_i386 -dynamic-linker
/lib/ld-linux.so.2 /usr/lib/crt1.o /usr/lib/crti.o
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/crtbegin.o
-L/usr/local/glibc-2.3.2/lib
-L/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.1
-L/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/../../../../i686-pc-linux-gnu/lib
-L/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/../../..
/tmp/ccEiAOhK.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s
-lgcc
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/crtend.o
/usr/lib/crtn.o
/usr/local/glibc-2.3.2/lib/libc.so.6: undefined
reference to address@hidden'
collect2: ld returned 1 exit status

It seems that g++ keeps using /lib/ld-linux.so.2,
which is a link to ld-2.2.5.so.  I tried to relink
/lib/ld-linux.so.2 to ld-2.3.2.so, but after that
almost all the programs (including 'ls, reboot, etc')
stop working. Any suggestions? 

Some system info:
GNU ld version 2.13

address@hidden lib]$ g++ -v
Reading specs from
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/specs
Configured with: ../gcc-3.3.1/configure
Thread model: posix
gcc version 3.3.1

Linux kernel 2.4.21.

Jun

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]