On 12/13/2010 05:37 PM, Peter Stuge wrote:
Joseph Smith wrote:
/usr/bin/ld: /usr/local/lib/liblua.a(loadlib.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
..
Anyone else seen this? What in the heck is dlclose@@GLIBC_2.2.5 ???
Your lua library was linked against libdl, and linking of serialice doesn't seem to include that when linking.
If lua installs a .pc it'd be good to use $(pkg-config --libs lua) in the serialice Makefile.
Actually it didn't. I installed it from source. I had to include it: export PKG_CONFIG_PATH=/home/joe/cboot/lua-5.1.4/etc/
This is a bit wacky....