LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cannot build glibc in LFS (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-build-glibc-in-lfs-4175485685/)

itprogrammer 11-23-2013 10:51 PM

Cannot build glibc in LFS
 
While configuring glibc with:

Quote:

../glibc-2.18/configure \
--prefix=/usr \
--disable-profile \
--enable-kernel=2.6.32 \
--libexecdir=/usr/lib/glibc
It checks for ld version and displays:

Quote:

checking for ld... ld
checking version of ld... v. ?.??, bad
.
.
.
configure: error:
*** These critical programs are missing or too old: ld
*** Check the INSTALL file for required versions.
When typing
Code:

root:/sources/glibc-build# ld --version
it says
Code:

command not found
. But taking new terminal and typing
Code:

name@hostname:~$ ld --version
it shows:

Quote:

GNU ld (GNU Binutils for Ubuntu) 2.22
Copyright 2011 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
Why is this happening? How can i make the ld work in chroot environment?

grail 11-23-2013 11:56 PM

Show us your chroot command you entered?

Also, good rule of thumb when talking about LFS is to indicate which chapter you are up to.

druuna 11-24-2013 03:35 AM

Cross-posting is against the LQ rules. Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place.

Continue in the other/original thread: https://www.linuxquestions.org/quest...fs-4175485686/

Reported for closure.

colucix 11-24-2013 07:15 AM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.


All times are GMT -5. The time now is 01:11 AM.