I’ve inherited a site with htdig installed. This has been running fine for years but it has suddenly stopped working. When vsiitng the URL in the browser I get the server misconfiguration error so I ran htsearch in command line/reviewed the errors and am receiving the following error:
./htsearch: error while loading shared libraries: libfuzzy-3.2.0.so: cannot open shared object file: No such file or directory
Any thoughts greatly appreciated…the server recently rebooted so I’m wondering if I’m missing sym links etc.
–Update following comments–
After running strace the following is not found:
/usr/lib/htdig/tls/i686/sse2/libfuzzy-3.2.0.so
There is no library called htdif but it does exist elsewhere on the server, I guess I need to create the htdig library in /usr/local, is that correct and how would I go about doing that?
Following Sergeys suggestions I have hit another issue but this stumbling block is behind me. Just in case anyone finds this I did the following:
After ascertaining that the program cannot load the libraries we need to add them to ld.so.conf. The libraries I wanted to add were:
Create a new file in /etc/ld.so.conf.d with the paths to the two directories above underneath one another
Reload the libraries by typing ldconfig, you can verify the changes by typing:
ldconfig -v | less