cloudfoundry / capi-workspace

Machine setup for CAPI developers
Apache License 2.0
8 stars 9 forks source link

need to manually install libffi7 #30

Closed sethboyles closed 3 years ago

sethboyles commented 3 years ago

get this error when bundling:

LoadError: libffi.so.7: cannot open shared object file: No such file or directory - /home/pivotal/workspace/capi-release/src/cloud_controller_ng/vendor/cache/ruby/2.7.0/gems/ffi-1.14.2/lib/ffi_c.so
/home/pivotal/workspace/capi-release/src/cloud_controller_ng/vendor/cache/ruby/2.7.0/gems/ffi-1.14.2/lib/ffi.rb:6:in `rescue in <top (required)>'
/home/pivotal/workspace/capi-release/src/cloud_controller_ng/vendor/cache/ruby/2.7.0/gems/ffi-1.14.2/lib/ffi.rb:3:in `<top (required)>'
/home/pivotal/workspace/capi-release/src/cloud_controller_ng/vendor/cache/ruby/2.7.0/gems/ffi-compiler-1.0.1/lib/ffi-compiler/compile_task.rb:4:in `<top (required)>'
/home/pivotal/workspace/capi-release/src/cloud_controller_ng/vendor/cache/ruby/2.7.0/gems/http-parser-1.2.2/ext/Rakefile:1:in `<top (required)>'

Because apt doesnt provide libffi7 via apt. The workaround is to install libffi7 manually.

Possible solutions:

cf-gitbot commented 3 years ago

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/176472006

The labels on this github issue will be updated when the story is started.

sethboyles commented 3 years ago

https://askubuntu.com/questions/1286772/libffi-so-7-cannot-open-shared-object-file-no-such-file-or-directory