Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
error: can't build i686-pc-cygwin shared library unless -no-undefined is specified #243
You'll also hit this issue from https://www.gnu.org/software/libtool/manual/html_node/LT_005fINIT.html:
You can try running
Another, easier, way is to proceed is to statically link a custom lua binary with luaposix sources preloaded. That will be much easier to get working, but doesn't help much if you were hoping for a runtime loadable luaposix.dll.
Once you've fought your way through that minefield, please be aware luaposix makes no attempt to patch-up missing or buggy POSIX API implementations in the host library though, so I would be (pleasantly) surprised to hear that luaposix is even approaching well behaved with cygwin if you get it all to build and run.
@gvvaughan Thanks for the tip on the
Here's what worked for me, for the benefit of future readers.
Edit This was for version 33.4.0-1, which is current on luarocks.org as of writing. I could not get