-
Notifications
You must be signed in to change notification settings - Fork 46
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
Can't require gsl on Alpine Linux - Error relocating gsl_native.so: gsl_multifit_fdfsolver_jac: symbol not found
#40
Comments
Any able to help on this? Is there anything I can provide to further debug? |
I am seeing a similar, but not identical error.
repro follows Dockerfile
output from docker build
|
Interestingly things seem to work with alpine:3.4 (gsl 1.16) and gem version 1.16.0.6 but fail if the gem is upgraded to 2.1.0.2 working:
Fails:
with:
alpine 3.5 (gsl 2.2.1) will not install gem version 1.16.0.6 as expected and 2.1.0.2 fails with:
so there seems to be some incompatibility with gsl 2.2.1 I tried building an alpine package for gsl 2.1 and 2.0 but these both seem to fail with the same error (despite apparent compatibility with this version in the gem README)
|
The issue seems to be the use of deprecated functions, in debian/ubuntu the package is patched to be included. When I patch the alpine package to do the same everything works as expected... So a few points: |
I am running alpine in a docker image and running ruby code. This successfully installs all packages but fails when I try require gsl. I have stripped out many of the additional libraries to find a minimal test.
Here is the Dockerfile:
The test file is:
Running docker build . produces the following output:
Any assistance would be greatly appreciated.
The text was updated successfully, but these errors were encountered: