Hi Sean, Sean Davis wrote on 30.07.2004:
>I have a script that queries a database and then uses GraphViz.pm to >generate png output based on the query. GraphViz calls executables >located in /usr/local/bin. This runs fine from the command line and >produces a functional png output. However, when I switch this over to >CGI (after adding the appropriate html header, of course), I get the >following error message: > >Command 'neato' not found in /bin, /sbin, /usr/bin, /usr/sbin, >/usr/libexec, /System/Library/CoreServices at >/Library/Perl/5.8.1/GraphViz.pm line 1020 > >I know the issues here, I think. First, I am executing under a >different user than at the command line. Second, related to the first, >the path under the webserver user (how do I find that?) is different >than that under my username. How can I rectify this? > How about use lib '/your/path/here'; But to make sure this is your problem, we would need some code. - Jan -- Remember: use logout to logout. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>