I had almost the same problem.
The error message was:
/usr/local/bin/httrack: error while loading shared libraries: libhttrack.so.2:
cannot open shared object file: No such file or directory
The library "libhttrack.so.2" is located at /usr/local/lib
The solution in my case was to put a symbolic link to that file in the
directory /usr/lib
ln -s /usr/lib/libhttrack.so.2 /usr/local/lib/libhttrack.so.2
I hope this helps someone...