On Thu, Feb 17, 2005 at 07:34:35PM +0100, Marco Avvisano wrote:
You'll probably need it for the hobbitgraph.cgi script as well, so the best way to do this is to add these two lines to etc/hobbitserver.cfg:
LD_LIBRARY_PATH="/usr/local/rrdtool-1.0.49/lib" RUNTIMEDEFS="LD_LIBRARY_PATH=/usr/local/rrdtool-1.0.49/lib"
I also see in my apache log file this error:
/hobbit/server/bin/hobbitgraph.cgi: error while loading shared libraries: librrd.so.0: cannot open shared object file: No such file or directory,
OK, installation bug. Change the ~hobbit/cgi-bin/hobbitgraph.sh script so it sets up the LD_LIBRARY_PATH variable before running hobbitgraph.cgi. This should happen automatically, but I don't think it does.
Just add
LD_LIBRARY_PATH=/usr/local/rrdtool-1.0.49/lib export LD_LIBRARY_PATH
before the line that begins
exec /usr/local/hobbit/server/bin/hobbitgraph.cgi ....
Henrik