lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Antonio,
I fixed this last night. The problem was that LD_LIBRARY_PATH was not
set to point to the the 'im' and 'cd' libraries correctly.

-deech

2010/12/8 Antonio Scuri <scuri@tecgraf.puc-rio.br>:
>  Hi,
>
>  Which package did you download? Just checking because maybe it is
> corrupted some way and I'll have to update the web site.
>
> Best,
> scuri
>
>> -----Original Message-----
>> From: lua-l-bounces@lists.lua.org [mailto:lua-l-bounces@lists.lua.org]
>> On Behalf Of aditya siram
>> Sent: terça-feira, 7 de dezembro de 2010 12:37
>> To: Lua mailing list
>> Subject: Re: Installing IUP Library
>>
>> In my IUP download the closest thing I have to an "iuplua" module is a
>> library called "libiuplua51.so". I assume this is the right one so I
>> just set LUA_CPATH [1] to point to that library and now I get the
>> following error message :
>> lua: attempt to call a nil value
>> stack traceback:
>>         [C]: ?
>>         [C]: in function 'require'
>>         iup/html/examples/Lua/frame.wlua:5: in main chunk
>>         [C]: ?
>>
>> Thanks for your feedback!
>> -deech
>>
>> [1] export LUA_CPATH=";;$LUA_CPATH;$PWD/lib?51.so"
>>
>>
>>
>> 2010/12/7 Mateusz Czaplinski <czapkofan@gmail.com>:
>> > On Tue, Dec 7, 2010 at 4:43 AM, aditya siram <aditya.siram@gmail.com>
>> wrote:
>> >> set my LUA_PATH variable [2]. But when I try to run an example [3] I
>> >> [...]
>> >>        no file
>> >>
>> '/usr/local/lib/lua/5.1/iuplua.so:/home/deech/Programming/Lua/IUP33/iup
>> lua.so'
>> >
>> > According to http://www.lua.org/manual/5.1/manual.html#pdf-
>> package.loaders...
>> >  "A path is a sequence of templates separated by semicolons."
>> > ...so it seems even on Linux you shouldn't use ':' (as you seem to)
>> > but ';' to separate entires in your LUA_PATH.
>> >
>> > hope this helps.
>> > greetz
>> > Mateusz Czapliński
>> >
>> >
>
>
>