Maxwell Dreytser wrote:
On 2016-07-18 04:33, Bruce Dubbs wrote:
Maxwell Dreytser wrote:
Hello all,
While compiling the linux kernel using ALFS, I got a bunch of errors for
sign-file.c causing the build to fail. Complete 151-kernel build log:
http://paste.ubuntu.com/19860229/ [1] [1]
/usr/lib/gcc/x86_64-pc-linux-gnu/6.1.0/../../../../lib64/libcrypto.a(dso_dlfcn.o):
In function `dlfcn_globallookup':
dso_dlfcn.c:(.text+0x11): undefined reference to `dlopen'
dso_dlfcn.c:(.text+0x24): undefined reference to `dlsym'
dso_dlfcn.c:(.text+0x2f): undefined reference to `dlclose'
Those functions are in /lib/libdl-2.23.so. Do you have that file installed?
It should have been installed as a part of glibc.
Here is the output of a find command executed in chroot:
root:/lib#$ find / -name "libdl*"
/lib/libdl.so.2
/lib/libdl-2.23.so
/tools/lib/libdl.a
/tools/lib/libdl.so.2
/tools/lib/libdl.so
/tools/lib/libdl-2.23.so
/usr/lib/libdl.a
/usr/lib/libdl.so
As you can see, its there.
OK, it's there, but it is not being found. I always build the kernel
manually so I'm not sure what jhalfs does for this. Run ldconfig to
ensure the library cache is up to date and try configuring/building the
kernel manually.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style