[luabind-cvs] luabind-0.7: Test compilation failed
Brought to you by:
arvidn,
daniel_wallin
From: cyril R. <c.r...@la...> - 2006-02-04 01:07:49
|
Hi, I found a little bug in the test/makefile of the luabind-0.7 release (January 24, 2006). I downloaded the luabind-0.7 tarball on the sourceforge page. It compiled except the test directory. The error is: ------- /usr/lib/liblualib.so: undefined reference to `dlerror' /usr/lib/liblualib.so: undefined reference to `dlclose' /usr/lib/liblualib.so: undefined reference to `dlopen' /usr/lib/liblualib.so: undefined reference to `dlsym' ------- Indeed, it is because '-ldl' is missing in the makefile. I simply suggest to add it at the end of the concerned line: ------- $(CXX) $? -o $@ -g -L$(LUA_PATH)/lib -L../lib -lluabind -llualib -llua -ldl ------- Could you please update the tarball, so that source-based Linux distributions (like Gentoo) could download and compile it without problems ? Thanks in advance. Best regards, Cyril |