Skip to content
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

Runtime error using Lua-cURLv3 master #10

Closed
sgodbold opened this issue Feb 4, 2021 · 1 comment
Closed

Runtime error using Lua-cURLv3 master #10

sgodbold opened this issue Feb 4, 2021 · 1 comment

Comments

@sgodbold
Copy link

sgodbold commented Feb 4, 2021

Following the README and building Lua-cURLv3 master results in this error at runtime:

Error:

Error loading main script: error loading module 'lcurl.safe' from file './lcurl.so': ./lcurl.so: undefined symbol: lua_absindex

I think the README should be updated to link to a specific release of Lua-cURLv3. v0.3.12 worked for me.

Steps to reproduce error:

git clone https://github.com/Lua-cURL/Lua-cURLv3.git
# edit Makefile for luajit
make
# build pobfrontend like normal
cp /path/to/lcurl.so .
/path/to/build/pobfrontend

Steps to fix:

git clone https://github.com/Lua-cURL/Lua-cURLv3.git
git checkout tags/v0.3.12
# edit Makefile for luajit
make
# build pobfrontend like normal
cp /path/to/lcurl.so .
/path/to/build/pobfrontend
@aspel
Copy link
Owner

aspel commented Feb 5, 2021

Ok, thanks

@aspel aspel closed this as completed May 18, 2021
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

2 participants