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

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

Closed
shinwookim opened this issue Jul 24, 2022 · 10 comments
Closed

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

shinwookim opened this issue Jul 24, 2022 · 10 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@shinwookim
Copy link

shinwookim commented Jul 24, 2022

/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
Copy link

Benau commented Aug 6, 2022

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

@jeffreytse jeffreytse assigned shinwookim and jeffreytse and unassigned shinwookim Aug 6, 2022
@jeffreytse jeffreytse added the good first issue Good for newcomers label Aug 6, 2022
@jeffreytse
Copy link
Owner

Hi @shinwookim

Have you settled down this issue?

Thanks & Regards

@ghost
Copy link

ghost commented Nov 20, 2022

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
Copy link

ghost commented Nov 20, 2022

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
Copy link

Benau commented Nov 22, 2022

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

@kKerem
Copy link

kKerem commented Jan 6, 2023

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
Copy link
Owner

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

@kKerem
Copy link

kKerem commented Jan 6, 2023

@ghost
Copy link

ghost commented Jan 6, 2023

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

@jeffreytse
Copy link
Owner

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

Agree with you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants