>>>>> Elias Athanasopoulos writes:
> Hi,
> I tried to build glibc-2.0.122 and after about 2 hours of compiling
> time everything seemed to be ok. I compiled glibc with 2.2.1 kernel
> header files, although my system is running kernel 2.0.30, and installed
> it in /usr/local.
> Here is part of my configuration used to build glibc:
> o egcs 1.1.1 (egc-2.91.60)
> o binutils 2.9.1.0.25
> o ld 1.9.9
> o GNU Make 3.71.1
> o libc 5.4.33
> Now, when I'm trying to run the simpe foo.c program:
> void main(void) {}
> which is compiled as:
> $ gcc foo.c -Wl,--dynamic-linker=/usr/lib/ld.linux.so.2 -o foo
That's the wrong path to ld-linux - you installed it in
/usr/local/lib.
> I'm getting the following 'strange' msg:
> $ ./foo
> bash: ./foo: No such file or directory
> I've also included /usr/local/lib in the LD_LIBRARY_PATH env.
> variable.
> Also, when I try the following:
> bash# nm -u foo
> __mon_start__
> __ibc_start_main@@GLIBC_2.0
> _p_hw
> abort@@GLIBC_2.0
> free@@GLIBC_2.0
> malloc@@GLIBC_2.0
That's ok.
> Any ideas?
> If I'm asking in the wrong place I would appreciate u pointing me
> to the appropriate one. TIA. :-)
You should really install glibc 2.1.1 and read the whole FAQ and
INSTALL documents first.
Andreas
--
Andreas Jaeger [EMAIL PROTECTED] [EMAIL PROTECTED]
for pgp-key finger [EMAIL PROTECTED]