Hi there,
I have a special case where nix-index and nix-locate didn’t help out.
Concretely I wanted to connect to oracle and my binary looks for libclntsh.so, which I want to point to via setting LD_LIBRARY_PATH accordingly.
Running nix-index followed by nix-locate libclntsh.so does not give any hit.
The file exists in nixpkgs
Looking around this issue How do I use cx_Oracle to connect to Oracle DB? mentions where the .so file are located, actually it is pkgs.oracle-instantclient.lib, i.e. the lib output.
Even after I included this into my configuration.nix, i.e. the package is build, nix-locate libclntsh.so does not show anything.
What can I do to find such files automatically within nix?
Are there ways with nix-index/nix-locate or other ways how I can find such dependencies without the use of google?
Why is nix-index/nix-locate not enough for this case?