-
Notifications
You must be signed in to change notification settings - Fork 10
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
Unable to call VipsForeignLoadPngFile #49
Comments
Hi @sjkim04, I suppose I would first try to verify that your libvips is working. You can do:
To check that it picked up libspng (or libpng, for me) correctly. Then maybe:
To make sure it can call it. I see:
|
So it's not vips' problem, as far as I can tell from your comment. What could it be? One thing I can expect is the environment (I didn't install any of the Lua development packages). If that matters, I'll try to fix it. Edit: As I said, I am running this on a Raspberry Pi 4, running Ubuntu 21.04 LTS (ARM64). Just thought I'd tell you this. |
I'll see if I can make a dockerfile that reproduces this. |
I had a quick go: https://github.com/jcupitt/docker-builds/blob/master/lua-vips-ubuntu21.04/Dockerfile But canonical seem to be having some DNS problems so I can't test it, unfortunately. I might try again later. |
Oh, just me being dumb, 21.04 is not an LTS, so it's out of support. Assuming you meant 20.04 I made this: https://github.com/jcupitt/docker-builds/blob/master/lua-vips-ubuntu20.04/Dockerfile It seems to work, I see:
Could you test that on your rpi? |
I'm tampering with lua-vips on a Raspberry Pi with a custom-built libvips, and I can't seem to get the module to work.
Here's the simple code I used:
and here's the traceback (run with luvit):
What's the problem with this? I installed most of the optional dependencies, including libspng, and the code still fails. I would appreciate some help.
The text was updated successfully, but these errors were encountered: