While configuring glibc with:
It checks for ld version and displays:
checking for ld... ld
checking version of ld... v. ?.??, bad
*** These critical programs are missing or too old: ld
*** Check the INSTALL file for required versions.
root:/sources/glibc-build# ld --version
. But taking new terminal and typing
name@hostname:~$ ld --version
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?