jekyll-deploy-action icon indicating copy to clipboard operation
jekyll-deploy-action copied to clipboard

Error when trying to run libvips for Jekyll-Picture-Tag

Open shinwookim opened this issue 2 years ago • 2 comments

/github/workspace/vendor/bundle/ruby/2.7.0/gems/ffi-1.15.5/lib/ffi/library.rb:145:in `block in ffi_lib': Could not open library 'vips.so.42': vips.so.42: cannot open shared object file: No such file or directory. (LoadError)
Could not open library 'libvips.so.42': libvips.so.42: cannot open shared object file: No such file or directory

1_build_and_deploy.txt

shinwookim avatar Jul 24 '22 08:07 shinwookim

seems that the repo owner need to reinstall jeykll picture tag and rebuild it against latest libvips.so

Benau avatar Aug 06 '22 03:08 Benau

Hi @shinwookim

Have you settled down this issue?

Thanks & Regards

jeffreytse avatar Aug 06 '22 04:08 jeffreytse

the issue is you need to install libvips package for this plugin to work... how can we install a package inside the jekyll-deploy-action environment?

ghost avatar Nov 20 '22 14:11 ghost

solution: read the docs, use

with:
    pre_build_commands: "pacman -S --noconfirm libvips lcms2 openjpeg2 libpng libwebp libheif imagemagick openslide libjxl poppler-glib"

works all good with these deps installed!

ghost avatar Nov 20 '22 15:11 ghost

yes fixed too, everyone make sure update jekyll_picture_tag to 2.0.4 for using with latest libvips version

Benau avatar Nov 22 '22 03:11 Benau

Same issue. Works on local but failing on github actions. I did what was said but it didn't work.

https://github.com/kKerem/kkerem.github.io/blob/main/Gemfile error.log

kKerem avatar Jan 06 '23 13:01 kKerem

Hi @kKerem , could you share me your action YAML file? so that I can help you check what happened.

jeffreytse avatar Jan 06 '23 14:01 jeffreytse

Hi @kKerem , could you share me your action YAML file? so that I can help you check what happened.

https://github.com/kKerem/kkerem.github.io/blob/main/.github/workflows/jekyll.yml

https://github.com/kKerem/kkerem.github.io/actions/runs/3855864257/jobs/6571392481

kKerem avatar Jan 06 '23 14:01 kKerem

Are you actually using jekyll-deploy-action? can't see it in this .yml

ghost avatar Jan 06 '23 14:01 ghost

Are you actually using jekyll-deploy-action? can't see it in this .yml

Agree with you.

jeffreytse avatar Jan 06 '23 15:01 jeffreytse