[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Noob trying to install
- From: kamicc olo <kamicc@...>
- Date: Mon, 29 Jul 2013 18:32:40 +0300
Dirty way:
sudo ln -s /usr/lib/i386-linux-gnu/liblua5.2-lpeg.so
/usr/local/lib/lua/5.2/lpeg.so
(making a link to the version of lpeg You have in Your system).
Nicer way would be using LuaDist, which provides virtual environment
setting automatically all needed environment paths and stuff.
On 7/29/13, Rustom Mody <rustompmody@gmail.com> wrote:
> On Mon, Jul 29, 2013 at 6:44 PM, Thomas Harning Jr.
> <harningt@gmail.com>wrote:
>
>> My best guess, of hand, is that lpeg (at least) is not included as
>> compiled for Lua 5.2, but instead Lua 5.1
>>
>>
> >From the apt package lua-lpeg-dev I find the files:
>
> /usr/include/lua5.1/lua-lpeg.h
> /usr/include/lua5.2/lua-lpeg.h
> /usr/lib/i386-linux-gnu/liblua5.1-lpeg.a
> /usr/lib/i386-linux-gnu/liblua5.1-lpeg.so
> /usr/lib/i386-linux-gnu/liblua5.2-lpeg.a
> /usr/lib/i386-linux-gnu/liblua5.2-lpeg.so
>
> >From lua-lpeg I find
>
> /usr/lib/i386-linux-gnu/liblua5.1-lpeg.so.2
> /usr/lib/i386-linux-gnu/liblua5.1-lpeg.so.2.0.0
> /usr/lib/i386-linux-gnu/liblua5.2-lpeg.so.2
> /usr/lib/i386-linux-gnu/liblua5.2-lpeg.so.2.0.0
> /usr/lib/i386-linux-gnu/lua/5.1/lpeg.so
> /usr/lib/i386-linux-gnu/lua/5.2/lpeg.so
>