LuaSec - Cross Platform Binary Collection

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
Posts: 1
Joined: Thu Dec 19, 2013 11:48 am

LuaSec - Cross Platform Binary Collection

Post by chuanshi » Thu Dec 19, 2013 12:21 pm

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: ... _text_58_1
building lua: ... -2010.html and ... stallation (replacing all instances of "lua5.1" with "lua51" in the vc++ files)
building other modules: (I didn't end up using this method, but it may work for other modules?)
compiling for 64-bit in visual studio: *do not select "Create new project platforms". Copy them over individually from Win32

User avatar
Inner party member
Posts: 804
Joined: Tue Apr 05, 2011 2:59 pm
Location: SR388

Re: LuaSec - Cross Platform Binary Collection

Post by Lafolie » Thu Dec 19, 2013 12:32 pm

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.
Do you recognise when the world won't stop for you? Or when the days don't care what you've got to do? When the weight's too tough to lift up, what do you? Don't let them choose for you, that's on you.

User avatar
Posts: 44
Joined: Fri Mar 18, 2011 2:32 pm
Location: California

Re: LuaSec - Cross Platform Binary Collection

Post by sharpobject » Mon Dec 23, 2013 8:09 pm

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 './':
dlopen(./, 2): Library not loaded:
   Referenced from: /Users/sharpobject/repos/sgre/
   Reason: image not found

User avatar
Inner party member
Posts: 955
Joined: Wed Oct 05, 2011 1:36 am
Location: your basement

Re: LuaSec - Cross Platform Binary Collection

Post by josefnpat » Thu Dec 26, 2013 8:53 pm

Oh this is fantastic! I will mirror this asap, and get you any other libs that I can muster!


I've mirror'd the bins here:

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:
Missing Sentinel Software | Twitter

<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push

User avatar
Posts: 1
Joined: Wed Jan 30, 2019 4:07 pm
Location: Taiwan

Re: LuaSec - Cross Platform Binary Collection

Post by lucentinian » Thu Jan 31, 2019 9:16 am

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!

Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests