undefined reference to `dlclose' `dlopen' `dlsym'
时间:2015-05-13 22:18 来源:linux.it.net.cn 作者:IT
解决的方法是在 ./configure 后面加上参数LDFLAS=‘-ldl’:
make clean
./configure LDFLAGS=-ldl 或 LOCAL_LDFLAGS := -ldl
make
sudo make install
或直接在Makefile 中添加
DFLAGS=-lpthread -lrt -ldl
(责任编辑:IT)
解决的方法是在 ./configure 后面加上参数LDFLAS=‘-ldl’: make clean ./configure LDFLAGS=-ldl 或 LOCAL_LDFLAGS := -ldl make sudo make install 或直接在Makefile 中添加 DFLAGS=-lpthread -lrt -ldl (责任编辑:IT) |