[hobbit] cgi can't see libpcre

Galen Johnson gjohnson at trantor.org
Fri Aug 25 04:00:40 CEST 2006


Mostardi, David (MDL US) wrote:

> Most of my new hobbit installation (Solaris 9) has come up fine, but I 
> can't click through any of the colored icons. The error from Apache 
> error_log is:
>
> [Thu Aug 24 15:25:22 2006] [error] [client 145.36.246.222] Premature 
> end of script headers: /usr/local/hobbit/cgi-bin/bb-hostsvc.sh
>
> ld.so.1: /usr/local/bb/bb1.9i-btf/bin/hobbitsvc.cgi: fatal: 
> libpcre.so.0: open failed: No such file or directory
>
> There were no pcre errors during the build process. I used the 
> "-R/usr/local/lib" trick mentioned in the "known problems" page, and 
> the user "hobbit" has the directory in its library path. Perhaps there 
> is some special place where I'll need to manually add a reference to 
> the PCRE libraries?
>
> Thank you,
>
> *David Mostardi*
> Advisory Systems Manager
> *Elsevier MDL*
> 2440 Camino Ramon, Suite 300
> San Ramon CA 94583
> 925.543.7350
> _www.mdl.com_
>
Hey David,

You may need to use crle...check the man page for usage...I've found on 
occasion I've had to use it to get the libraries to work for various 
applications when LD_LIBRARY_PATH and friends failed to work.  IIRC, 
'crle -l' will show you your library paths as Solaris sees them.

=G=



More information about the Xymon mailing list