Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
- Which host are you using to build LFS,
- Is you host fully compliant (post output of the version-check.sh script),
- Which LFS version are you trying to build,
- Which chapter is giving you problems,
- Did you encounter any problems in any of the previous chapters.
This is rather basic Linux knowledge. If your Linux knowledge is this basic you are in for a rough ride building LFS. LFS does assume a certain level of existing knowledge of Unix system administration in order to resolve problems and correctly execute the commands listed.
Anyway (as root):
Code:
rm /bin/sh
ln -s /bin/bash /bin/sh
Quote:
Originally Posted by itprogrammer
Is that already part of LFS book or Should i change it manually now at this chapter or Start again from first?
If you've been using dash during the LFS build then you need to restart from the beginning. Remove what you've done this far and start fresh.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.