[SerialICE] dlclose@@GLIBC_2.2.5

Joseph Smith joe at settoplinux.org
Tue Dec 14 01:23:49 CET 2010


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`

-- 
Thanks,
Joseph Smith
Set-Top-Linux
www.settoplinux.org



More information about the SerialICE mailing list