in reply to Re^2: GraphViz , apache
in thread GraphViz , apache

I just forced the LD_LIBRARY_PATH environment variable to the right path while starting up the CGI script. Its hacky, but worked for me.