试过了,也是不行
提示如下 :
/usr/bin/ld: /home/test/lib/liblua.a(lapi.o): relocation R_X86_64_32 against `luaO_nilobject_' can not be used when making a shared object; recompile with -fPIC
/home/test/lib/liblua.a: could not read symbols: Bad value
collect2: ld returned 1 exit status