Category Archive: EasyApache

Aug 26

Liblua error: relocation R_X86_64_32 against `luaO_nilobject_’

The full error will be like as below: ———————— /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 ———————— I got the above error in between easyapache. It’s pretty sure lua is present in server but something went unoticed …

Continue reading »

Aug 26

Error while loading shared libraries: liblua.so

I got this liblua error while apache,php recompilation. At first I tried to find the dependencies of lua # ldd `which lua` linux-vdso.so.1 => (0x00007fff1dd7d000) liblua.so => not found libreadline.so.6 => /lib64/libreadline.so.6 (0x0000003b68800000) libncurses.so.5 => /lib64/libncurses.so.5 (0x0000003b68400000) libm.so.6 => /lib64/libm.so.6 (0x0000003b68000000) libdl.so.2 => /lib64/libdl.so.2 (0x0000003b67800000) libc.so.6 => /lib64/libc.so.6 (0x0000003b67400000) libtinfo.so.5 => /lib64/libtinfo.so.5 (0x0000003b6a400000) /lib64/ld-linux-x86-64.so.2 (0x0000003b67000000) …

Continue reading »