/sbin/ldconfig.real: /opt/rapid7/nexpose/nsc/nxpgsql/pgsql/lib/libuuid.so.16.lnk is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /opt/rapid7/nexpose/nsc/nxpgsql/pgsql/lib/libuuid.so.1.lnk is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /opt/rapid7/nexpose/nsc/nxpgsql/pgsql/lib/libpng12.so.lnk is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /opt/rapid7/nexpose/nsc/nxpgsql/pgsql/lib/libuuid.so.lnk is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /opt/rapid7/nexpose/nsc/nxpgsql/pgsql/lib/libpng12.so.0.lnk is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /opt/rapid7/nexpose/nsc/nxpgsql/pgsql/lib/libjpeg.so.lnk is not an ELF file - it has the wrong magic bytes at the start.
/sbin/ldconfig.real: /opt/rapid7/nexpose/nsc/nxpgsql/pgsql/lib/libpq.so.5 is not a symbolic link
/sbin/ldconfig.real: /opt/rapid7/nexpose/nsc/nxpgsql/pgsql/lib/libecpg.so.6 is not a symbolic link
/sbin/ldconfig.real: /opt/rapid7/nexpose/nsc/nxpgsql/pgsql/lib/libpgtypes.so.3 is not a symbolic link

Solution according to HDM is to delete /etc/ld.so.conf.d/nxpgsql.conf file and then run ldconfig