Build problem: libdl.so.2 symlink missing.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Build problem: libdl.so.2 symlink missing.

Kaz Kylheku-3
What could cause this? Targets in the elf subdirectory don't build
because they depend on dlfcn/libdl.so.2.

The dlfcn/libdl.so is built, but the dlfcn/libdl.so.2 symbolic link is
missing.

So make install bails:

make[2]: *** No rule to make target
`/data/linux/glibc-src/build-mips-linux/dlfcn/libdl.so.2', needed by
`/data/linux/glibc-src/build-mips-linux/elf/sprof'.  Stop.
make[2]: Leaving directory `/data/linux/glibc-src/libc/elf'
make[1]: *** [elf/subdir_install] Error 2
make[1]: Leaving directory `/data/linux/glibc-src/libc'
make: *** [install] Error 2


The configuration line:

  $ ../libc/configure --build=i386-linux --host=mips-linux --prefix=/usr
--exec-prefix=/usr --libexecdir=/usr/libexec --datadir=/usr/share
--sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var
--libdir=/lib --includedir=/usr/include --infodir=/usr/info
--mandir=/usr/man --disable-add-ons --enable-add-ons=nptl,ports
--with-headers=/data/linux/kernel-src/2.6.17.7/build-mips-linux/include
--enable-kernel=2.6.17.7