lovell / sharp-libvips

Packaging scripts to prebuild libvips and its dependencies - you're probably looking for https://github.com/lovell/sharp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

grantbeattie opened this issue · comments

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? =)

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

ah, it does indeed work with this commit now 🎉

30a48e1