On 12/13/2010 07:30 PM, Stefan Reinauer wrote:
- Joseph Smithjoe@settoplinux.org [101214 01:23]:
On 12/13/2010 07:00 PM, Joseph Smith wrote:
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....
Hmm, it is in qemu configure, shouldn't that be enough?
LUA_CFLAGS=`pkg-config --cflags lua` LUA_LDFLAGS=`pkg-config --libs lua`
It should, but make install does not install the lua.pc file
You will have to copy it manually. Maybe you could report the bug to lua upstream maintainers?
Ok, if I copy it manually, where should I copy it to? Where is the correct location?