On Fri, Jan 21, 2005 at 10:19:06AM +0300, Alexander Shishckin wrote:
> On Thu, 20 Jan 2005 21:49:04 +0100, Felix Wiemann <[EMAIL PROTECTED]> wrote:
> > Any ideas?
> Looks like -ldl is missing to the linker options. Tuomo should know for sure. 
> :)

You liblualib.so is probably improperly linked and doesn't set a dependency
on libdl. What does 'ldd' say?

~$ ldd /usr/local/lib/liblualib.so
        libdl.so.2 => /lib/tls/libdl.so.2 (0x40026000)
        libc.so.6 => /lib/tls/libc.so.6 (0x40029000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)


Of course, with static .a libs there are also no dependencies :(, and -ldl
should be added to LUA_LIBS.

-- 
Tuomo

Reply via email to