Page 1 of 1

LuaSec - Cross Platform Binary Collection

Posted: Thu Dec 19, 2013 12:21 pm
by chuanshi
Hi, everyone! Upon prodding by some people in the IRC channel, I decided to contribute by making/putting together LuaSec binaries modeled after josefnpat's post on LuaSQLite3. Unfortunately, I have nowhere near the experience of others who would actually use this module extensively, so these come with no guarantee of perfect working condition - only that they compiled correctly and load properly with Löve 0.9.0 on their respective platforms.

With that said, have at it! TODO:
linux x86 and OSX x86
a better testing script
use luasec 0.4.1 instead of head?

It's been a fun learning experience. Partly for my own reference, but you may find them interesting, as well, here were some sites I found useful for making the windows binaries:
building openssl: http://developer.covenanteyes.com/build ... _text_58_1
building lua: http://techneilogy.blogspot.de/2012/02/ ... -2010.html and http://luabinaries.sourceforge.net/inde ... stallation (replacing all instances of "lua5.1" with "lua51" in the vc++ files)
building other modules: http://lua-users.org/lists/lua-l/2008-08/msg00074.html (I didn't end up using this method, but it may work for other modules?)
compiling for 64-bit in visual studio: http://msdn.microsoft.com/en-us/library/9yb4317s.aspx *do not select "Create new project platforms". Copy them over individually from Win32

Re: LuaSec - Cross Platform Binary Collection

Posted: Thu Dec 19, 2013 12:32 pm
by Lafolie
Unless you plan on supporting legacy Löve builds you needn't bother with the x86 OS X implementations. There are very few modern macs that run on a 32-bit architecture.

Re: LuaSec - Cross Platform Binary Collection

Posted: Mon Dec 23, 2013 8:09 pm
by sharpobject
I've built this for 32-bit linux and will have that to Chuan soon™. I'm also not confident these will work, because I tried using the OSX one and it failed:

Code: Select all

lua: error loading module 'ssl.core' from file './ssl.so':
dlopen(./ssl.so, 2): Library not loaded:
                     /opt/local/lib/libssl.1.0.0.dylib
   Referenced from: /Users/sharpobject/repos/sgre/ssl.so
   Reason: image not found

Re: LuaSec - Cross Platform Binary Collection

Posted: Thu Dec 26, 2013 8:53 pm
by josefnpat
Oh this is fantastic! I will mirror this asap, and get you any other libs that I can muster!

edit:

I've mirror'd the bins here: http://50.116.63.25/public/LuaSec-Binaries/

Will test them as soon as I can, but it won't be for a week or so unfortunately.

I can get you the 32-bit linux stuff if sharpobject doesn't / can't / etc.

You don't need the 32-bit version of osx, as there isn't a public compiled release of 0.8.0 or 0.9.0 for it. I ought to change my dir structure to osx/x86_64 instead of osx/x86+x86_64 ...

edit: on a pretty clean mac (10.8.5) and I get this error as well: https://love2d.org/imgmirrur/6CAKdP3.png

Re: LuaSec - Cross Platform Binary Collection

Posted: Thu Jan 31, 2019 9:16 am
by lucentinian
Hello! Thank you for the effort!

Are these files still valid for the latest version of LÖVE2D?

Are binaries for Android ARM available too?

Thank you in advance!