https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100150
--- Comment #8 from David Binderman <dcb314 at hotmail dot com> --- (In reply to Martin Liška from comment #7) > How is libtolua++-5.3.so built? $ gcc -o lib/libtolua++-5.3.so -Wl,-soname,libtolua++-5.3.so -shared src/lib/tolua_event.os src/lib/tolua_is.os src/lib/tolua_map.os src/lib/tolua_push.os src/lib/tolua_to.os $( -Llib $) -llua -ldl -lm I am merely picking lines out of a build of fedora package tolua++ version 1.0.93 You might be better off trying to build the package yourself.