On Thu, 28 Apr 2011 18:19:08 +0200
tony lemaire <[email protected]> wrote:

> I have this error when i launch the "make install" command :
> 
> stubs.h unchanged
> rm -f /sources/glibc-build/stubs.h
> /sources/glibc-build/elf/sln /sources/glibc-build/elf/symlink.list
> rm -f /sources/glibc-build/elf/symlink.list
> test ! -x /sources/glibc-build/elf/ldconfig || LC_ALL=C LANGUAGE=C \
>   /sources/glibc-build/elf/ldconfig  \
>                    /lib64 /usr/lib64
> CC="gcc" /usr/bin/perl scripts/test-installation.pl /sources/glibc-build/
> Use of uninitialized value in string ne at scripts/test-installation.pl line 
> 163, <LDD> line 20.
> Library libgcc_s is not correctly installed.
> Please check your installation!
> Offending line of ldd output:     libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 
> (0x00007ff1e44c2000)

I don't understand, this doesn't look right to me. You haven't
installed gcc yet, libgcc_s.so.1 should be a symlink pointing
at /tools/lib/libgcc_s.so.1

> The script has found some problems with your installation!
> Please read the FAQ and the README file and check the following:
> - Did you change the gcc specs file (necessary after upgrading from
>   Linux libc5)?
> - Are there any symbolic links of the form libXXX.so to old libraries?
>   Links like libm.so -> libm.so.5 (where libm.so.5 is an old library) are 
> wrong,
>   libm.so should point to the newly installed glibc file - and there should be
>   only one such link (check e.g. /lib and /usr/lib)
> You should restart this script from your build directory after you've
> fixed all problems!
> Btw. the script doesn't work if you're installing GNU libc not as your
> primary library!
> make[1]: *** [install] Error 1
> make[1]: Leaving directory `/sources/glibc-2.13'
> make: *** [install] Error 2
> 
> What clue am I missing?
> 
Perhaps you didn't run the sed on test-installation.pl? Or maybe you
made a typo when you did?

sed -i -e 's/"db1"/& \&\& $name ne "nss_test1"/' scripts/test-installation.pl

Andy
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to