ruby-vips-lambda icon indicating copy to clipboard operation
ruby-vips-lambda copied to clipboard

thumbnail auto_rotate option doesn't work since vips isn't built with libexif

Open mdoyle13 opened this issue 5 years ago • 8 comments

It's me again :)

I noticed that when compiling vips - its compiled without exif support. Exif support is needed in order for autorotate options when using the thumbnail method. (https://github.com/libvips/libvips/issues/319)

I tried a few things to no avail and will try again soon to get this working but wanted to put some info here

For sure yum needs to install libexif-devel so vips will build with exif support

Then we need to figure out how to referencethe libexif.so files in the layer files somehow. I'm not aware how to do this at this time but I did try symlinking and copying some libexif.so files into share/lib directory without success.

When loading vips the lambda responds with this error:

"errorMessage": "Could not open library 'vips': vips: cannot open shared object file: No such file or directory.\nCould not open library 'libvips.so': libexif.so.12: cannot open shared object file: No such file or directory",

mdoyle13 avatar Jun 07 '19 15:06 mdoyle13