got error when install glibc


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users got error when install glibc
# 1  
Old 06-11-2012
Bug got error when install glibc

hi all,
i am play LFS recently. but i can not go on for a an error when install glibc.
here is the error log:
Code:
   if test -r /usr/include/gnu/stubs-32.h && cmp -s /mnt/lfs/sources/glibc-build/stubs.h /usr/include/gnu/stubs-32.h; \
	then echo 'stubs.h unchanged'; \
	else /usr/bin/install -c -m 644 /mnt/lfs/sources/glibc-build/stubs.h /usr/include/gnu/stubs-32.h; fi
stubs.h unchanged
rm -f /mnt/lfs/sources/glibc-build/stubs.h
/mnt/lfs/sources/glibc-build/elf/sln /mnt/lfs/sources/glibc-build/elf/symlink.list
rm -f /mnt/lfs/sources/glibc-build/elf/symlink.list
test ! -x /mnt/lfs/sources/glibc-build/elf/ldconfig || LC_ALL=C LANGUAGE=C \
	  /mnt/lfs/sources/glibc-build/elf/ldconfig  \
				       /lib /usr/lib
CC="gcc" /usr/bin/perl scripts/test-installation.pl /mnt/lfs/sources/glibc-build/
/usr/bin/ldd: line 126: /tmp/test-prg546: cannot execute binary file
Library libBrokenLocale is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link libBrokenLocale.so?
Library libnss_files is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link libnss_files.so?
Library libnss_nisplus is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link libnss_nisplus.so?
Library libcrypt is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link libcrypt.so?
Library libresolv is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link libresolv.so?
Library libnss_dns is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link libnss_dns.so?
Library libnss_compat is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link libnss_compat.so?
Library librt is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link librt.so?
Library libpthread is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link libpthread.so?
Library libnsl is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link libnsl.so?
Library libm is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link libm.so?
Library libcidn is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link libcidn.so?
Library libc is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link libc.so?
Library libutil is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link libutil.so?
Library libanl is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link libanl.so?
Library libnss_nis is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link libnss_nis.so?
Library libdl is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link libdl.so?
Library libnss_hesiod is not correctly installed since the test program
was not linked dynamically against it.
Do you have a file/link libnss_hesiod.so?
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 `/mnt/lfs/sources/glibc-2.14.1'
make: *** [install] Error 2

i really need help. i am waiting for getting any advice .!!!!

Last edited by pludi; 06-11-2012 at 12:32 PM..
# 2  
Old 06-11-2012
Unless you've got an extremely good reason to be building glibc by hand, you shouldn't be. It's fraught with plenty of pitfalls, bothers your package manager, and is generally unnecessary.

It makes the following suggestions:
Code:
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)


Last edited by Corona688; 06-11-2012 at 12:47 PM..
This User Gave Thanks to Corona688 For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Homework & Coursework Questions

FORTRAN error *** glibc detected ***

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: I'm doing aproximation of derivative called five-point stencil. For every value of x, in interval , in step... (0 Replies)
Discussion started by: antonija
0 Replies

2. Red Hat

Trying to install glibc-common 686 on a x64 system

Hi, I hoping someone can help me. I am running a 64 bit RH 6.5 Server, and have to install glibc.686 for a Symantec package I need to install. A prerequisite for glibc.686 is glibc-common. I'm trying to install this manually, as it's not on our local repository, but when I try, I get the... (1 Reply)
Discussion started by: badoshi
1 Replies

3. UNIX and Linux Applications

Install glibc-debug for glibc-2.11.3-17.31.1 on SLES 11

I have to debug a function getopt_long in glibc-2.11.3-17.31.1. For that how can I download and install its corresponding glibc-debug on SLES 11? (8 Replies)
Discussion started by: rupeshkp728
8 Replies

4. UNIX for Dummies Questions & Answers

Error while installing glibc 2.16.0 on ubuntu 12.04 LTS

I come across the following error while configuring glibc 2.16.0 on ubuntu 12.04 LTS:"These critical programs are missing or too old: ld". Please suggest me a solution for the same at the earliest. (1 Reply)
Discussion started by: nov_2012
1 Replies

5. Programming

"GLIBC detected Error" for a simple C code.

Here is a simple program to find the vowels in the string. Output is fine. But I'm getting GLIBC detected as shown below : :eek: *** glibc detected *** ./VOWELS: free(): invalid pointer: 0x08b82013 *** ======= Backtrace: ========= /lib/libc.so.6 /lib/libc.so.6(cfree+0x59) ./VOWELS... (5 Replies)
Discussion started by: Ranji Raj
5 Replies

6. Programming

glibc error

Hi All, This is my first time posting on this forum. I'd like to participate actively on this list. Here we go! I'm making a little application and I'm using ncurses. After a while using it, I receive the following error and the stack trace is shown: ***glibc detected*** malloc() :... (6 Replies)
Discussion started by: lagigliaivan
6 Replies

7. UNIX for Advanced & Expert Users

install glibc-2.6.1

Hi, I have downloaded glibc-2.6.1.tar.tar. But I do not know how to install it on Xubuntu. Do you know ? Thank you. (4 Replies)
Discussion started by: big123456
4 Replies

8. HP-UX

Oracle 9i install: Error in invoking target install of makefile

I receive an error while installing Oracle 9i: Error in invoking target install of makefile /opt/oracle/product/9.2.0/sqlplus/lib/ins_sqlplus.mk Furthermore: $ whoami oracle $ echo $ORACLE_HOME /opt/oracle/product/9.2.0 $ pwd /opt/oracle/product/9.2.0/sqlplus/lib $ ll total... (5 Replies)
Discussion started by: chris2005
5 Replies

9. UNIX for Dummies Questions & Answers

glibc 2.2.2

After installing glibc 2.2.2 on my redhat 6.1 (with all necessary updates). I try to restart but my compter say i do not existst like you deleted root account and you are root. (i have seen people doing that ;-P ). I run configure with these command --bindir=/bin --sbindir=/sbin --libdir=/lib... (1 Reply)
Discussion started by: jurrien
1 Replies
Login or Register to Ask a Question