The actual ebuild do not compile lua with loadlib support. Reproducible: Always Steps to Reproduce: Proposed patch: --- lua-5.0.ebuild.orig 2003-12-30 12:33:20.588770224 +0100 +++ lua-5.0.ebuild 2003-12-30 12:29:21.924052776 +0100 @@ -13,7 +13,10 @@ src_compile() { sed -i \ - -e 's:^#POPEN= -DUSE_POPEN$:POPEN= -DUSE_POPEN:' \ + -e 's:^#LOADLIB= -DUSE_DLOPEN=1$:LOADLIB= -DUSE_DLOPEN=1:' \ + -e 's:^#DLLIB= -ldl:DLLIB= -ldl:' \ + -e "s:^#MYLDFLAGS= -Wl,-E:MYLDFLAGS= -Wl,-E:" \ + -e 's:^#POPEN= -DUSE_POPEN=1$:POPEN= -DUSE_POPEN=1:' \ -e "s:^MYCFLAGS= -O2:MYCFLAGS= ${CFLAGS}:" \ -e 's:INSTALL_ROOT= /usr/local:INSTALL_ROOT= $(DESTDIR)/usr:' \ -e 's:INSTALL_MAN= $(INSTALL_ROOT)/man/man1:INSTALL_MAN= $(INSTALL_ROOT)/share/man/man1:' \
Created attachment 22840 [details, diff] Add loadlib support to lua
Thanks, in CVS.