On Fri, Mar 13, 2009 at 12:15 AM, Vivek Ayer <[email protected]> wrote: > How do go about including gnuplot in the chroot? Do I just do ln -s > ../../usr/local/bin/gnuplot? I thought symlinks could get away with > chroots or are those restricted to /var/www as well?
The link talks about this subject. You need to see if you can recreate the necessary "environment" under /var/www for gnuplot. Copying into there all the shared libraries gnuplot requires to run. Other possibility might be for you to see if you can build/link gnuplot statically so it doesn't require any shared libraries. Then copy that statically linked gnuplot executable under /var/www/ and see if that works. --patrick > On Thu, Mar 12, 2009 at 10:19 PM, patrick keshishian <[email protected]> wrote: >> On Thu, Mar 12, 2009 at 4:16 PM, Vivek Ayer <[email protected]> wrote: >>> include("extensions/Gnuplot/Gnuplot.php"); >>> $wgGnuplotCommand = '<yourGnuplotPath>'; >>> >>> B B B Windows example path: >>> >>> $wgGnuplotCommand = "C:\\Program files\\xampp\\gnuplot\\bin\\pgnuplot.exe"; >> [...] >>> The gnuplot binary is at /usr/local/bin/gnuplot and I put that in, but >>> I get no output when using gnuplot inline. Is this because apache is >>> chrooted? Also, it says it requires gd, ggi, and plotutils. Are all >>> this packages available on openbsd? >> >> /usr/local/bin is not visible to the chroot apache in default openbsd >> install. >> >> read more about it over here: >> B B B B http://www.openbsd.org/faq/faq10.html#httpdchroot

