-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
pythonPackages.cx_oracle: fix dlopen, patchelf and fix library path for oracle-instantclient binaries #40688
Conversation
previously, $ORACLE_HOME had to be set for each python script using this library. We now patch odpi to load libclntsh.so from oracle-instantclient if $ORACLE_HOME was not provided.
@GrahamcOfBorg build pythonPackages.cx_oracle |
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: pythonPackages.cx_oracle Partial log (click to expand)
|
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: oracle-instantclient Partial log (click to expand)
|
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: pythonPackages.cx_oracle Partial log (click to expand)
|
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: oracle-instantclient Partial log (click to expand)
|
No attempt on x86_64-linux (full log) The following builds were skipped because they don't evaluate on x86_64-linux: pythonPackages.cx_oracle Partial log (click to expand)
|
No attempt on x86_64-linux (full log) The following builds were skipped because they don't evaluate on x86_64-linux: oracle-instantclient Partial log (click to expand)
|
This PR:
LD_LIBRARY_PATH
for binaries in therepatchelf
s some previously missed binariesodpi
library, so it can find the oracle-instantclient libraries without having to setORACLE_HOME
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)