Skip to content

Commit

Permalink
remove libyaml-dev from BUILD_DEPENDENCIES
Browse files Browse the repository at this point in the history
Because this is required on runtime
and BUILD_DEPENDENCIES will be removed at the end of installation
Installation of `libyaml-dev` is written in Dockerfile
so additional installation is not reeded

if not, following error reported on runtime

> LoadError: libyaml-0.so.2: cannot open shared object file: No such or directory - /usr/local/lib/ruby/3.2.0/x86_64-linux/psych.so

This is because Ruby 3.2.0 (psych 5.0.0) or later
does not contain libyaml any more
ruby/psych#541
  • Loading branch information
kkimurak authored and sachilles committed Jan 20, 2025
1 parent 32b38f4 commit d7c3997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/build/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export GOROOT PATH

BUILD_DEPENDENCIES="gcc g++ make patch pkg-config cmake paxctl \
libc6-dev \
libpq-dev zlib1g-dev libyaml-dev libssl-dev \
libpq-dev zlib1g-dev libssl-dev \
libgdbm-dev libreadline-dev libncurses5-dev libffi-dev \
libxml2-dev libxslt-dev libcurl4-openssl-dev libicu-dev \
gettext libkrb5-dev \
Expand Down

0 comments on commit d7c3997

Please sign in to comment.