Skip to content

Libffi.so.6 error on ubuntu-latest #24949

Answered by croaky
croaky asked this question in Actions
Discussion options

You must be logged in to vote

Busting the Ruby cache appears to have fixed it:

      - uses: actions/cache@v1
        with:
          path: vendor/bundle
-         key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
+         key: ${{ runner.os }}-new-gems-${{ hashFiles('**/Gemfile.lock') }}
          restore-keys: |
-           ${{ runner.os }}-gems-
+           ${{ runner.os }}-new-gems-

I’m guessing ubuntu-latest was updated with a new version of libffi and a cached Ruby gem depended on the old version.

Related: Ruby libffi.so.7: cannot open shared object file: · Issue #881 · ffi/ffi · GitHub

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant