[SerialICE] dlclose@@GLIBC_2.2.5

Stefan Reinauer stepan at coreboot.org
Tue Dec 14 01:30:28 CET 2010


* Joseph Smith <joe at 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?

Stefan




More information about the SerialICE mailing list