On 11 Nov 2002 at 19:20, Jim Cole wrote:
> On Sunday, November 10, 2002, at 07:26 PM, Adrian Bolzan wrote: > > > I am trying to install htdig-3.2.0b4-20021103 on Debian Woody. > > > > I am using gcc v2.95.4-14 > > > > > > When I run htsearch from command line the search works. However, > > when running it from the browser I get the following in the apache > > error log: ---------------- htsearch: error while loading shared > > libraries: libfuzzy-3.2.0.so: cannot open shared object file: No > > such file or directory [Mon Nov 11 12:53:11 2002] [error] [client > > 210.8.221.118] Premature end of script headers: > > /home/httpd/aotnet/cgi-bin/htsearch ---------------- > > Did you install all of the components in the standard way (i.e. make > install)? Did you leave everything where 'make install' placed it? Are > the permissions of the install directories set such that the user > htsearch runs as can read them? > > The path to libfuzzy (and the other htdig libraries) is hard coded > into htsearch, so if the 'htdig' library directory has been moved, or > is inaccessible, htsearch won't find it. If you run the 'strings' > command on htsearch, you can probably pick out its notion of where the > htdig libraries are supposed to be located. If the libraries aren't in > that location, something is wrong with your install. If they are in > that location, most likely the problem is one of file permissions. > > Jim > Thanks, Jim, for the detailed response. Every bit of info about software is useful. You were right on the money when you said that if the htdig library was moved then htsearch won't find it. I had actually moved a whole heap of files from one development server (hosting the working htdig code) to another and during the clean up i deleted all the old htdig files but forgot about the htsearch script. When htsearch was called it used this old version which had references to incorrect library locations. all in all, a bit embarrassing... cheers, Adrian ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ htdig-general mailing list <[EMAIL PROTECTED]> To unsubscribe, send a message to <[EMAIL PROTECTED]> with a subject of unsubscribe FAQ: http://htdig.sourceforge.net/FAQ.html

