Hello all,
I have a shell script that extracts some data from log files, then calls
gnuplot to create a graph using the jpeg terminal. When I run the script
from the terminal, I am able to create the graph, but when I run the script
from a web application running on an apache http server 2.2 (on the same
machine), I see the error message "gnuplot: error while loading shared
libraries: libgd.so.2: cannot open shared object file: No such file or
directory". I've installed gnuplot 4.2, gd-2.0.35, libpng-1.2.37,
zlib-1.2.3 and libjpeg-v7, but when I do slocate libgd, I can only find
/usr/lib/libgdm.so.2. Why would this allow the script to create the graph
when called from the terminal, but not the web application?
|