Subject: pkg/31171: package lang/lua and its dependencies do not build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <mc0@databaar.ch>
List: pkgsrc-bugs
Date: 09/06/2005 16:45:00
>Number: 31171
>Category: pkg
>Synopsis: package lang/lua and its dependencies do not build
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Sep 06 16:45:00 +0000 2005
>Originator: A L Meyers
>Release: latest pkgsrc bootstrapped to Mandrake Linux i386 10.1
>Organization:
>Environment:
[alm@localhost pkgsrc]$ uname -a
Linux localhost.localdomain 2.6.8.1-12mdk #1 Fri Oct 1 12:53:41 CEST 2004 i686 AMD Athlon(tm) XP 2800+ unknown GNU/Linux
>Description:
===> Building for lua-5.0.2nb4
cd include; /usr/pkg/bin/bmake all
cd src; /usr/pkg/bin/bmake all
cd src/lib; /usr/pkg/bin/bmake all
cd src/luac; /usr/pkg/bin/bmake all
libtool --mode=link gcc -o ../../bin/luac -L/usr/pkg/gcc3/lib/gcc-lib/i386-mandrake-linux/3.3.5 -Wl,-R/usr/pkg/gcc3/lib/gcc-lib/i386-mandrake-linux/3.3.5 -L/usr/pkg/gcc3/lib -Wl,-R/usr/pkg/gcc3/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib luac.o print.o lopcodes.o -L../../lib -llua -llualib -lm
*** [buildlink3] Warning: libtool replaced -llua with ../../lib/liblua.la
*** [buildlink3] Warning: libtool replaced -llualib with ../../lib/liblualib.la
gcc -o ../../bin/.libs/luac -Wl,-R/usr/pkg/gcc3/lib/gcc-lib/i386-mandrake-linux/3.3.5 -Wl,-R/usr/pkg/gcc3/lib -Wl,-R/usr/pkg/lib luac.o print.o lopcodes.o -L/usr/pkgsrc/lang/lua/work/.buildlink/gcc3/lib/gcc-lib/i386-mandrake-linux/3.3.5 -L/usr/pkgsrc/lang/lua/work/.buildlink/gcc3/lib -L/usr/pkgsrc/lang/lua/work/.buildlink/lib -L/usr/pkgsrc/lang/lua/work/lua-5.0.2/lib ../../lib/.libs/liblua.so ../../lib/.libs/liblualib.so -lm
../../lib/.libs/liblualib.so: undefined reference to `dlerror'
../../lib/.libs/liblualib.so: undefined reference to `dlclose'
../../lib/.libs/liblualib.so: undefined reference to `dlopen'
../../lib/.libs/liblualib.so: undefined reference to `dlsym'
collect2: ld returned 1 exit status
>How-To-Repeat:
do "make install clean" in lang/lua
>Fix:
none known