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

0.4.20 pact_ffi - aarch64-musl .so failing to load (missing symbols) #436

Closed
YOU54F opened this issue Jun 8, 2024 · 0 comments · Fixed by #432
Closed

0.4.20 pact_ffi - aarch64-musl .so failing to load (missing symbols) #436

YOU54F opened this issue Jun 8, 2024 · 0 comments · Fixed by #432

Comments

@YOU54F
Copy link
Member

YOU54F commented Jun 8, 2024

So we have an issue with the pact_ffi shared library, for aarch64-musl .so in 0.4.20

Error

LoadError:
  Could not open library '/app/lib/pact/../../ffi/linux-arm64-musl/libpact_ffi.so': Error relocating /app/lib/pact/../../ffi/linux-arm64-musl/libpact_ffi.so: __builtin_copysignq: symbol not found.
  Searched in <system library path>, /usr/lib, /usr/local/lib, /opt/local/lib
# /usr/local/bundle/gems/ffi-1.16.3/lib/ffi/dynamic_library.rb:65:in `load_library'

Seems to be exclusive to aarch64, and the dynamic library only. amd64 tests are passing in pact-php as well using the shared library, and the static .a is being used and tested successfully in pact-js-core in this PR

First reported by @tienvx over in pact-php alpine PR - Thanks Tien!

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

Successfully merging a pull request may close this issue.

1 participant