Re: trying include luajit into embebbed application that already uses lua5.1

  • From: José Seabra <joseseabra4@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Fri, 24 Oct 2014 14:31:34 +0100

Can you please give a sample how i can link this library.


2014-10-24 14:18 GMT+01:00 José Seabra <joseseabra4@xxxxxxxxx>:

> Hi Crhis,
> Thank you for your reply,
> Yes i have read this doc, and i have linked, but or it is not much clear
> to me, or I'm doing something wrong, because when i try start my app i got
> the following error:
> app_lua.so>: libluajit-5.1.so.2: cannot open shared object file: No such
> file or directory
>
> Thank you
>
>
>
> 2014-10-24 13:03 GMT+01:00 Christiaan Schade <chris.schade@xxxxxxxxx>:
>
>> On 10/24/2014 12:56 PM, José Seabra wrote:
>> > I'm trying compile a luajit as embebbed c application, this application
>> already uses lua5.1, the makefile is the following:
>> > <snipp...>
>> > What i need change in this Makefile in order to compile it with luajit
>> instead of lua5.1?
>>
>> Have you read the documentation? http://luajit.org/install.html section
>> "Embedding LuaJIT".
>> Basically, you'll just need to link with the luajit library instead of
>> the plain lua library.
>>
>> -- Chris
>> PGP: http://pgp.mit.edu/pks/lookup?op=get&search=0x35F488E65E3AF153
>>
>>
>
>
> --
> Cumprimentos
> José Seabra
>



-- 
Cumprimentos
José Seabra

Other related posts: