-
Notifications
You must be signed in to change notification settings - Fork 241
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
libclntsh.so.18.1: cannot open shared object file #34
Comments
Did you solve your issue? I solved it by setting this: PS: Pay attention not to put a |
@duhongx I've run into a similar issue but I am on 12.2. How did you end up solving your issue? My LD_LIBRARY_PATH and ORACLE_HOME seem to be fine. I have other programs on the server in question using the same client without issue.
Edit: I ended up installing the 0.2.0 release and that one works fine. It's 0.2.1 and above that don't work with the 12.2 client. |
Hi @wbh1 , I know you did not ask me, but I wanted to reply anyway, just in case it helps someone in the future. It was really weird, but sometimes when my path is like yours |
And what about to run the exporter in a Docker container? |
[root@ecs003 oracle_exporter]# ./oracledb_exporter -h
./oracledb_exporter: error while loading shared libraries: libclntsh.so.18.1: cannot open shared object file: No such file or directory
[root@ecs003 oracle_exporter]# find / -iname "libclntsh*.*" -type f
/usr/lib/oracle/11.2/client64/lib/libclntsh.so.11.1
oracle_exporter version:oracledb_exporter.0.2.1
oracle client version:11.2.0.4.0
why oracledb_exporter depend on libclntsh.so.18.1?
The text was updated successfully, but these errors were encountered: