Date: Thu, 26 Jul 2007 09:07:46 +0000 From: Filip Lenaerts <filip@freeshell.org> To: freebsd-ports@freebsd.org Subject: Re: ion-3 20070720: undefined reference to lua Message-ID: <20070726090745.GA7314@SDF.LONESTAR.ORG> In-Reply-To: <20070723145345.GC5781@SDF.LONESTAR.ORG> References: <20070723145345.GC5781@SDF.LONESTAR.ORG>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 23, 2007 at 02:53:45PM +0000, Filip Lenaerts wrote: > : undefined reference to `lua_tolstring' > ../../libextl/libextl.a(luaextl.o)(.text+0x3a1): In function `extl_dopath': > : undefined reference to `luaL_checklstring' > ... > > full script output of 'make install': http://filip.freeshell.org/log/ion-3.install.log (43K) > > i reinstalled lua5 to make sure i have recent libs in /usr/local/lib. > > has anyone an idea what is going wrong here? replying to myself, as i have found the problem. ion-3 requires lua51. however it seems that the lua50 left some libraries behind (pkg tools don't seem to remove those at deinstall/delete): (here already prefixed by me with "_") $ ls -l /usr/local/lib/_liblua* lrwxr-xr-x 1 root wheel 11 Dec 15 2005 /usr/local/lib/_liblua.so -> liblua.so.5 -r-xr-xr-x 1 root wheel 75444 Dec 15 2005 /usr/local/lib/_liblua.so.5 -r--r--r-- 1 root wheel 74088 Dec 15 2005 /usr/local/lib/_liblualib.a lrwxr-xr-x 1 root wheel 14 Dec 15 2005 /usr/local/lib/_liblualib.so -> liblualib.so.5 -r-xr-xr-x 1 root wheel 57336 Dec 15 2005 /usr/local/lib/_liblualib.so.5 a UPDATING entry of 20060506 concerning lua and kde mentioned that lua50 and lua51 are incompatible. so i renamed the libraries, reinstalled lua5 (which doesn't install libraries here): $ pkg_info -L lua-5.1.1_2 | grep lib /usr/local/include/lua51/lauxlib.h /usr/local/include/lua51/lualib.h /usr/local/lib/lua51/liblua.a the UPDATING entry mentions that kde stuff break with lua51 and that you have to downgrade to lua50. so i'm wondering what to do if i have a kde based app (e.g. psi). happily, i try to keep away as far as possible from them, but ymmv :) btw ion-3 is installed and working filip
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070726090745.GA7314>