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

can't create avif using sharp-libvips 8.10.1-alpha2 #65

Closed
grantbeattie opened this issue Oct 5, 2020 · 2 comments
Closed

can't create avif using sharp-libvips 8.10.1-alpha2 #65

grantbeattie opened this issue Oct 5, 2020 · 2 comments

Comments

@grantbeattie
Copy link

I'm attempting to convert a jpeg to avif using sharp 0.26.1 and prebuilt libvips 8.10.1-alpha2, however it looks like the required symbols from libaom aren't being pulled into the shared libvips:

$ node
Welcome to Node.js v12.18.4.
Type ".help" for more information.
> const sharp = require('sharp')
undefined
> sharp('test.jpg').toFormat('heif').toFile('test.heif')
Promise { <pending> }
> node: symbol lookup error: /app/sharp-0.26.1/build/Release/../../vendor/8.10.1/lib/libvips.so.42: undefined symbol: aom_codec_av1_cx

am I jumping the gun and trying to do this before it's ready? =)

@lovell
Copy link
Owner

lovell commented Oct 5, 2020

Thank you for alpha testing this but yes, too early - please subscribe to lovell/sharp#2289 for updates.

@lovell lovell closed this as completed Oct 5, 2020
@grantbeattie
Copy link
Author

ah, it does indeed work with this commit now 🎉

30a48e1

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