解决的方法是在 ./configure 后面加上参数LDFLAS=‘-ldl’:
make clean
./configure LDFLAGS=-ldl 或 LOCAL_LDFLAGS := -ldl
make
make clean
./configure LDFLAGS=-ldl 或 LOCAL_LDFLAGS := -ldl
make
sudo make install
或直接在Makefile 中添加
DFLAGS=-lpthread -lrt
-ldl

本文介绍了一种解决特定编译错误的方法,通过在配置文件中添加特定参数或直接修改Makefile来解决链接库缺失的问题。
859

被折叠的 条评论
为什么被折叠?



