Database Install/Upgrade/Opatch (MOSC)

MOSC Banner

The $ORACLE_HOME/lib/sysliblist contains -lsnl. Is it still needed under Linux 9.6?

edited Sep 11, 2025 5:58AM in Database Install/Upgrade/Opatch (MOSC) 2 commentsAnswered

We are under Oracle Database Version 19.27 on RHEL 9.6.

We recently updated our operating system from RHEL 8.10 to RHEL 9.6. After the update, we performed a "./relink as_installed" against the database with the database instances and listener down. After that, we tried to perform a compile against an ANSI C application using the gcc compiler. When we did so, we recieved the following compile error.

/bin/ld: cannot find -lnsl

I looked under $ORACLE_HOME/lib at the sysliblist file and noticed one of the libraries in the file is -lnsl. When I look under /usr/lib64 , the libnsl.so library has a symbolic link to libnsl.so.2.0.0 which does not exist under Linux 9.6.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center