glibc make No rule to make target libdl.so
glibc 编译错误。No rule to make target /media/lfs/sources/glibc-build/dlfcn/libdl.so, needed by /media/lfs/sources/glibc-build/malloc/libmemusage.so。#部分是dlfcn/Makefile libdl.so前面的注释。
DT_NEEDED 信息表示应用程序使用的,但不是 LSB(Linux* Standard Base) 规范组成部分的库。
# Depend on libc.so so a DT_NEEDED is generated in the shared objects.
# This ensures they will load libc.so for needed symbols if loaded by
# a statically-linked program that hasn't already loaded it.
编译glibc-2.8-20080929一直出现上述错误,编译 glibc-2.8-20081208则没有出现错误。后者没有打补丁。可以对比可能引起问题的Makefile找到问题的起因。编译glibc-2.8-20081208则在dlfcn/生成libdl.so和libdl.so.2;而编译glibc-2.8-20080929一直不能够生成该文件。
如果某个文件一直编译错误,则可以考虑换一个新一些版本,但是切勿跨度太大。否则容易引起兼容问题。

浙公网安备 33010602011771号