Skip to content

Native lua wont work on 32bit OpenBSD #840

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Wuerfel21 opened this issue Jan 21, 2015 · 7 comments
Closed

Native lua wont work on 32bit OpenBSD #840

Wuerfel21 opened this issue Jan 21, 2015 · 7 comments

Comments

@Wuerfel21
Copy link
Contributor

Well... i guess you need to build it then 😆

@fnuecke
Copy link
Member

fnuecke commented Jan 21, 2015

If there's more than one person running OpenBSD and hosting OC out there, I may look into this.
Otherwise I'm afraid it won't justify the effort of setting up a VM and all that for me.

@Wuerfel21
Copy link
Contributor Author

wouldnt a general unix one work? the api is said to be consistent across posix/unix systems

@fnuecke
Copy link
Member

fnuecke commented Jan 22, 2015

I'm pretty sure I tried re-using the libs compiled in Ubuntu and they didn't work in FreeBSD. I'm not familiar with the whole *BSD family, honestly, which is one of the reasons I won't just do it real quick - because it won't be. The difference in usage is just too big (took me ~10 minutes just to figure out I had to press scroll-lock to scroll back up the buffer).

Feel invited to test this yourself. If you're running OpenBSD, which I consider somewhat exotic, I'd expect you to be able to do that ;-)

@cinder1992
Copy link

The issue (Probably) is that BSD doesn't use glibc, which is default on Ubuntu. what I'd do is look into a way of allowing an OS with an existing build system (like every version of linux/BSD) to build their own Lua libraries on first install... although I'll assume you've already considered that.

@fnuecke
Copy link
Member

fnuecke commented Jan 22, 2015

Not really, because I feel that's a tad beyond the scope of a mod ;-)

@Wuerfel21
Copy link
Contributor Author

doesnt dynamic linking work also when the function pointers are diffrent? or is libc static?

on building the thing, i would just "make" it, or is there some extra config or dependancies?

@Wuerfel21
Copy link
Contributor Author

Actually, i think i heard once BSD had a compat thingy, may try that, wasnt there a way to force a binary?

@fnuecke fnuecke closed this as completed Mar 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants