undefined reference to `dlclose' `dlopen' `dlsym'

解決的方法是在 ./configure 後面加上參數LDFLAS=‘-ldl’: make clean   ./configure LDFLAGS=-ldl 或 LOCAL_LDFLAGS := -ldl  make   sudo make installspa 或直接在Makefile 中添加 thread DFLAGS=-lpthread -lrt -ldl file
相關文章
相關標籤/搜索