[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: luasocket problems
- From: khz@...
- Date: Fri, 25 Nov 2005 21:53:01 +0000
problem solved heh
khz@gotfault.net wrote:
>
> because in gentoo he install in other directories.
> i did what u sad but now i have other problem:
>
>
> Lua 5.0.2 Copyright (C) 1994-2004 Tecgraf, PUC-Rio
> > require("socket")
> /usr/local/share/lua/compat-5.1.lua:125: error loading package `socket.core'
> (/usr/lib/socket/core.so: undefined symbol: lua_getfield)
>
> Diego Nehab (diego@tecgraf.puc-rio.br) wrote:
> >
> > Hi,
> >
> > > well some files are in :
> > > usr/local/share/lua/
> > > how socket.lua mime.lua and others how http.lua in usr/local/share/lua/socket
> >
> > As Roberto said, I guess this
> >
> > >>> declare -x LUA_CPATH="/usr/local/share/lua/?/?.so"
> >
> > should be this
> >
> > >>> declare -x LUA_CPATH="/usr/local/share/lua/?.so"
> >
> > That is, assuming you have a core.so at
> >
> > /usr/local/share/lua/socket/core.so
> >
> > But anyways, is there any reason why you are not following the
> > install instructions from the LuaSocket manual?
> >
> > Regards,
> > Diego.
> >
>
>