[hobbit] Problem with apache.....
Henrik Stoerner
henrik at hswn.dk
Wed Oct 11 10:29:30 CEST 2006
On Wed, Oct 11, 2006 at 10:16:24AM +0200, Pierre Ronnefalk wrote:
> [Wed Oct 11 10:06:30 2006] [error] [client 10.xxx.xxx.xx] ld.so.1: hobbitsvc.cgi: fatal: libpcre.so.0: open failed: No such file or directory, referer: https://xxxxx.net/hobbit/ <https://xxxxx.net/hobbit/>
You've installed the PCRE libraries (and possible others) in a directory
which is not included in the default library search path that Apache
uses when running CGI scripts.
The simplest solution is probably to create a symbolic link from
/usr/lib/libpcre.so.0 to wherever you installed this library. And
similarly for librrd and other special libraries you've installed for
Hobbit.
Alternatively, you can change the configuration of the dynamic loader
to search the directory you've installed the libraries in. How to do
this depends on your OS; Linux systems use the file /etc/ld.so.conf
for this purpose.
As a final way of overcoming this, you can modify the Hobbit CGI scripts
to setup the LD_LIBRARY_PATH environment variable to include the
directories with these libraries.
Regards,
Henrik
More information about the Xymon
mailing list