/usr/lib/dld.sl: Can’t open shared library: /home/oracle/orahome/lib/libwtc8.sl
I recently had an error like the one seen on the title. While this scenerio pertains to Oracle 8i, I do find how I was able to fix it useful.
My environment variables were correct and I was still getting the error above.
In this case, the two binaries “lsnrctl” and “tnslsnr” did not have the attribute to use SHLIB_PATH enabled.
shared library dynamic path search:
SHLIB_PATH disabled second
To make it check the SHLIB_PATH, we run:
>chatr +s enable /u01/app/oracle/product/220.127.116.11/bin/tnslsnr
Do the same for “lsnrctl” and retry the command “lsnrctl start” to start the listener.