Ahmed El-Daly wrote:
On 7/5/05, Ahmed El-Daly <[EMAIL PROTECTED]> wrote:

Glibc, chapter 6 installation, I get this:

There is but only one result that came back from google referring to
"bin/ld: cannot find -lcidn" here:
http://linuxfromscratch.org/pipermail/hlfs-dev/2005-February/001833.html

According to that post, I should be building glibc-libidn in chapter
5. Anyone know how I can do this, and why I get this error?

Thanks. Below is the error as I get it. Yes it is an infernal x86_64 build!! :)



/tools/lib/gcc/x86_64-pc-linux-gnu/3.4.2/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find -lcidn
collect2: ld returned 1 exit status
Execution of gcc failed!
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!


Please ignore, found the solution here:
http://archives.linuxfromscratch.org/mail-archives/lfs-dev/2005-February/050585.html

Another solution would be to ignore the output above. It makes absolutely no sense for LFS because the test program is built with not-yet-adjusted toolchain, i.e. against glibc in /tools. As you can see with readelf -l /tmp/test-prgXXXXXX, the interpreter is /tools/lib/ld-linux.so.2.

--
Alexander E. Patrakov
--
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