Error while loading shared libraries

By jsliw

After install the nmap (a free open source utility for network exploration or security auditing),i get this error:

nmap: error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file or directory

Nmap failed to load the libpcre.so.0,i found the that available in /usr/local/lib.So,i going to copy that and place in /usr/lib.

#updatedb

#locate libpcre.so.0

#cp /usr/local/lib/libpcre.so.0 /usr/lib

#nmap localhost

Starting Nmap 4.20 ( http://insecure.org ) at 2007-03-23 22:13 MYT
Interesting ports on localhost (127.0.0.1):
Not shown: 1696 closed ports
PORT STATE SERVICE
631/tcp open ipp

Nmap finished: 1 IP address (1 host up) scanned in 0.247 seconds

Nmap working properly.

One Response to “Error while loading shared libraries”

  1. 1luw!natus Says:

    Cool, thanks that solved my problem :) !….

Leave a Reply