On 11 Nov 2002 at 15:11, Budd, Sinclair wrote: > > probably the web server does not have its environment variable for > LD_LIBRARY_PATH or whatever your system uses set to point to the > locations of that library. > ( with apache2 there is the envvars file in the apache bin > directory) > > Thanks for the reply.
We use apache 1.3.26. So does this mean I need to find a way to set LD_LIBRARY_PATH to the location of my "libfuzzy-3.2.0.so" file? Could I do this by wrapping htsearch in a wrapper script, then including these lines in the wrapper script: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/libf uzzy-3.20.so export LD_LIBRARY_PATH I did try copying the file "libfuzzy-3.2.0.so" to the /usr/lib/apache/1.3 directory and then recreating the symlink: libfuzzy.so -> /usr/lib/apache/1.3/libfuzzy-3.2.0.so and then running ldconfig. This did not help. any help is appreciated. Adrian > -----Original Message----- > From: Adrian Bolzan [mailto:adrian.bolzan@;aot.com.au] > Sent: Monday, November 11, 2002 2:26 AM > To: [EMAIL PROTECTED] > Subject: [htdig] Premature end of script headers > > > Hello, > > 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 ---------------- > > I am not too sure where to go from here. > > I looked through the FAQ for an answer but could not really find > one. FAQ 3.6 speaks about libstdc++ but this is installed with > gcc2.95. Also, I am not sure where the "perl-handler" / > "cgi-handler" directive would go in our httpd.conf file, if that is > the problem. > > Oddly, I installed an earlier version of htdig-3.2.0b4 on another > debian server but it was debian Potato distribution. Any help would > be appreciated. > > 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 ------------------------------------------------------- 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

