You
We recently moved a 19c DB from RHEL7 to RHEL8. While the DB is fine and users can connect without issue our app team is having trouble recompiling their application which makes use of the Pro*C precompiler. When they run the make script, it reports the following error:
/usr/bin/ld: cannot find -lnsl
collect2: error: ld returned 1 exit status
make: *** [/path/cleaned/src/program_proc_mk/program_proc.mk:5: build] Error 1
I have verified that the libnsl exists on the server (/usr/lib64).
-rwxr-xr-x 1 root root 99160 Jan 31 02:46 /usr/lib64/libnsl-2.28.so
lrwxrwxrwx 1 root root 14 Jan 31 02:34 /usr/lib64/libnsl.so.1 -> libnsl-2.28.so
lrwxrwxrwx. 1 root root 15 Aug 12 2018 /usr/lib64/libnsl.so.2 -> libnsl.so.2.0.0
-rwxr-xr-x. 1 root root 116408 Aug 12 2018 /usr/lib64/libnsl.so.2.0.0
This is way outside of my area, but I'm trying to help the app team. Has anyone encountered this issue or does anyone have any suggestions?