jeffreytse / jekyll-deploy-action

🪂 A Github Action to deploy the Jekyll site conveniently for GitHub Pages.
MIT License
344 stars 47 forks source link

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

Closed shinwookim closed 1 year ago

shinwookim commented 2 years ago
/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

Benau commented 2 years ago

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

jeffreytse commented 2 years ago

Hi @shinwookim

Have you settled down this issue?

Thanks & Regards

ghost commented 2 years ago

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 commented 2 years ago

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!

Benau commented 2 years ago

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

kKerem commented 1 year ago

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

jeffreytse commented 1 year ago

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

kKerem commented 1 year ago

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

ghost commented 1 year ago

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

jeffreytse commented 1 year ago

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

Agree with you.