On previous post has discussed about install Httrack software on Ubuntu. If you may get an error when execute below command,

# httrack www.domainname.com +* -r6

httrack: error while loading shared libraries: libhttrack.so.2: cannot open shared object file: No such file or directory

By default httrack library file is "libhttrack.so.2" located at /usr/local/lib, create a symbolic link to that file in /usr/lib directory.
# ln -s /usr/lib/libhttrack.so.2 /usr/local/lib/libhttrack.so.2
ln: failed to create symbolic link ‘/usr/local/lib/libhttrack.so.2’: File exists

Is the symbolic link failed execute the below link,
# ln -s /usr/local/lib/libhttrack.so.2 /usr/lib/libhttrack.so.2

The solution in my case was to put a symbolic link to that file in the directory /usr/lib