I am working on a new CentOS 8 server to replace an aging CentOS 6 server. Most everything is working and I am having the primary users test out everything they use the server for. Many errors have come and gone but this one not so much.
The user is running a gcc command:
gcc process-hdf.c -o process-hdf.exe -I/usr/include/hdf -L/usr/lib64 -lmfhdf -ldf -ljpeg -lz -lnsl -lm
which ends up failing with
/usr/bin/ld: cannot find -lnsl
I have done the following so far:
ld -l nsl, same error as with
- Verified that
libnslis installed within
- Verified both packages,
- Checked the
ldconfigcache and both versions of
- Removed the
libnslpackage, other packages depend on
libnsl2. No change when removed.
Any info would be appreciated.