之后./configure
星号在CentOS的I型make命令,但得到以下错误
/usr/bin/ld: /usr/local/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 /usr/local/lib/liblua.a: could not read symbols: Bad value
Run Code Online (Sandbox Code Playgroud)
我试过这个,./configure CFLAGS=-fPIC
但得到与上面相同的错误。