Hi all, I've been having some trouble installing Inline::Lua on my Leopard system. Everything looks fine until make test, which fails suggesting, to my untrained eye, some kind of linker error ("Symbol not found ... Expected in: dynamic lookup"). I've tried editing the generated makefile manually to send different options to gcc, but no luck so far. Does anyone have any idea how to make this work?
This is what I'm seeing happen, commands prefixed by # (my Lua and Perl installations are under /opt): # perl Makefile.PL INC=-I/opt/local/include LIBS=-L/opt/local/lib Writing Makefile for Inline::Lua # make /usr/bin/gcc-4.0 -c -I/opt/local/include -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -pipe -I/opt/local/include -O3 -DVERSION=\"0.04\" -DXS_VERSION=\"0.04\" "-I/opt/local/lib/perl5/5.8.9/darwin-2level/CORE" Lua.c Running Mkbootstrap for Inline::Lua () chmod 644 Lua.bs rm -f blib/arch/auto/Inline/Lua/Lua.bundle env MACOSX_DEPLOYMENT_TARGET=10.3 /usr/bin/gcc-4.0 -L/opt/local/lib -bundle -undefined dynamic_lookup Lua.o -o blib/arch/auto/Inline/Lua/Lua.bundle \ \ chmod 755 blib/arch/auto/Inline/Lua/Lua.bundle cp Lua.bs blib/arch/auto/Inline/Lua/Lua.bs chmod 644 blib/arch/auto/Inline/Lua/Lua.bs Manifying blib/man3/Inline::Lua.3pm # make test PERL_DL_NONLAZY=1 /opt/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/1_basic.........Can't load '/opt/local/lib/perl5/site_perl/5.8.9//darwin-2level/auto/Inline/Lua/Lua.bundle' for module Inline::Lua: dlopen(/opt/local/lib/perl5/site_perl/5.8.9//darwin-2level/auto/Inline/Lua/Lua.bundle, 2): Symbol not found: _luaL_checkudata Referenced from: /opt/local/lib/perl5/site_perl/5.8.9//darwin-2level/auto/Inline/Lua/Lua.bundle Expected in: dynamic lookup at /opt/local/lib/perl5/site_perl/5.8.9//darwin-2level/Inline/Lua.pm line 213 Compilation failed in require at (eval 6) line 1. [snip] Thanks in advance. Peter