Opened 20 years ago

Closed 20 years ago

Last modified 20 years ago

#1074 closed defect (invalid)

Make target libdl.so.2 missing

Reported by: disposable05@… Owned by: lfs-book@…
Priority: lowest Milestone:
Component: Book Version: 6.0
Severity: normal Keywords:
Cc:

Description

I have been through the manual several times and am having problems trying to get the glibc-2.3.4 to install. The 'make install' always fails at this same point:

make[5]: Entering directory `/home/lfs/glibc-2.3.4/time' make[5]: Nothing to be done for `rtld-all'. make[5]: Leaving directory `/home/lfs/glibc-2.3.4/time' make[4]: Leaving directory `/home/lfs/glibc-2.3.4/elf' make[3]: * No rule to make target `/home/lfs/glibc-2.3.4-build/dlfcn/libdl.so.2', needed by `/home/lfs/glibc-2.3.4-build/elf/sprof'. Stop.

So far I have tried using the glibc-2.3.4-20040701 version as well as downloading the fully released glibc-2.3.4. I even tried glibc-2.3.5. And it seems to compile the previous steps (binutils, gcc-core and headers) properly.

My host system is running kernel 2.6.8.1 and the host compiler is gcc-3.3.4 both meeting the requirements of LFS 6.0.

Change History (6)

comment:1 by jim@…, 20 years ago

What section is this error occuring? What is your host distro?

comment:2 by disposable05@…, 20 years ago

The section is in the "make install" portion of glibc-2.3.4-20040701 in Chapter 5. Host distro is a Slackware v10 with and kernel updated to 2.6.8.1

comment:3 by jim@…, 20 years ago

Can you show my the output of your host distro's libc. Use the following command from your run line "/lib/libc.so.6". It should give you output like this. # /lib/libc.so.6 GNU C Library unstable (20040828) release version 2.3.4.9, by Roland McGrath et al. Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 3.4.1. Compiled on a Linux 2.6.8-jg-4 system on 2004-08-29. Available extensions:

GNU libio by Per Bothner crypt add-on version 2.1 by Michael Glad and others GNU Libidn by Simon Josefsson Native POSIX Threads Library by Ulrich Drepper et al BIND-8.2.3-T5B NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk

Thread-local storage support included. For bug reporting instructions, please see: <http://www.gnu.org/software/libc/bugs.html>.

comment:4 by disposable05@…, 20 years ago

GNU C Library stable release version 2.3.2, by Roland McGrath et al. Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 3.3.3. Compiled on a Linux 2.4.26 system on 2004-05-24. Available extensions:

GNU libio by Per Bothner crypt add-on version 2.1 by Michael Glad and others linuxthreads-0.10 by Xavier Leroy BIND-8.2.3-T5B libthread_db work sponsored by Alpha Processor Inc NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk

Report bugs using the `glibcbug' script to <bugs@…>.

comment:5 by jim@…, 20 years ago

Resolution: invalid
Status: newclosed

Your running linuxthreads, you need to update your glibc to use NPTL.

Here is the link to the host requirements http://www.linuxfromscratch.org/lfs/view/stable/chapter05/hostreqs.html

Closing as invalid.

comment:6 by disposable05@…, 20 years ago

Thanks for the help and information. As I said when I posted this, I read the section of the manual that you referenced several times. Since I am not an expert on the inner workings of the kernel, might I suggest that some further clarification be added. The reference says "The host must be running at least a 2.6.2 kernel compiled with GCC-3.0 or higher. There are two main reasons for this high requirement. First, the Native POSIX Threading Library (NPTL) test suite will segfault if the host's kernel has not been compiled with GCC-3.0 or a later version." It was because of this reference that I upgraded the host kernel to 2.6.8.1 from 2.4.26. I also double-checked that the host kernel was compiled with GCC-3.0 or higher. To me, the book implied that if I had the correct host kernel version and compiled with the correct GCC that I would be OK. And since I had no seg faults I had no reason to look into the host system having NPTL.

Once again, thanks.

Note: See TracTickets for help on using tickets.