I installed nmap on Debian 6 squeeze, 64 bit. When I run nmap it says:
nmap: error while loading shared libraries: libsvn_client-1.so.0: cannot open shared object >file: No such file or directory
so I googled it and found a solution which was.
ln -s /usr/lib/x86_64-linux-gnu/libsvn_client-1.so.1 /usr/lib/libsvn_client-1.so.0
I did that. but I'm still getting the same problem. It created the link successfully but it says nmap is still giving me the same error. Any Ideas?
Nmap shouldn't be linked to libsvn_client
, but it can be if it was built with support for "nmap-update", an experimental way of updating Nmap Scripting Engine (NSE) scripts. Most people should not build in this feature since it requires an account, and there is currently no way to obtain an account.
To build Nmap without the nmap-update feature, you should make clean
, then run configure
with the --without-nmap-update
flag, like so:
sh-$ ./configure --without-nmap-update
The reason why the ln
command didn't fix your problem is that it created a symlink to the wrong version of libsvn_client. The binary is looking for version 0, and you linked version 1. It won't have the same symbols and interfaces.