2020年9月1日 星期二

/test/libtest.so: undefined symbol: dladdr

將gcc -g -fPIC -shared -ldl test.c -o libtest.so
改為
gcc -g -fPIC -shared test.c -o libtest.so -ldl

這個問題就可以解決了

沒有留言:

張貼留言