-
Notifications
You must be signed in to change notification settings - Fork 75
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
Compile error on Alpine Linux #129
Comments
Could you run sqlplus on the alpine linux?
|
@gacha I changed the title. Linux distributions usually use glibc as a C library. Oracle instant client was build for such distributions.
Oracle instant libraries isn't included in such libraries because of lack of a function.
sqlplus fails because musl is dropped-in in place of /lib/ld-linux.so.2 on Alpine Linux. |
I tried to compile ruby-oci8 by myself and looked at full |
Hi, thanks for investigating, now I tried with the docker default ruby image - debian, now it get's by the OCIEnvCreate() but fails in another place:
Here is my Dockerfile:
|
Could you put |
You need to install
|
Thanks, it works, should spot that by myself. |
Hi, Im trying to compile ruby-oci8 on a alpine linux with ruby 2.2.1. I have unzipped these files:
into
/opt/oracle
and have set LD_LIBRARY_PATH to /opt/oracle/instantclient_12_1.Output:
Last lines of mkmf.log:
Env:
And yes the link to libclntsh.so is correct:
The text was updated successfully, but these errors were encountered: