[Output Generation] Graphviz Crashing w/ Symbol not found error
Ported Issue from Mantis Original ID: 1451 Reported By: Robert J. Sanford, Jr.
SEVERITY: CRITICAL Submitted: 2008-10-17 21:50:10
OS: X86-OSX-10.5.5
VERSION: 2.20
DESCRIPTION
Today (2008-10-17) installed Graphviz for the first time (clean install) using the
stable release package installer for use from within Python application using python-graph
(http://code.google.com/p/python-graph/). Generation of the dot notation
appears to be working fine but when I attempt to run Graphviz against the dot notation file
I get the following errors:
dyld: lazy symbol binding failed: Symbol not found: _pixman_image_create_bits
Referenced from: /usr/local/lib/graphviz/libgvplugin_pango.5.dylib
Expected in: flat namespace
dyld: Symbol not found: _pixman_image_create_bits
Referenced from: /usr/local/lib/graphviz/libgvplugin_pango.5.dylib
Expected in: flat namespace
sh: line 1: 1892 Trace/BPT trap
python -u -c "import tmhooks, sys; del sys.argv[0]; file = sys.argv[0]; del sys, tmhooks;
execfile(file)" /Users/wobbet/Documents/development/KEYCHAIN/PyGambit/Parser/run.py
Python code to call is as follows: # Print to DOT Language dot = self._moduleDef.graph.write(fmt='dot') print dot # Print graph as PNG image gvv = gv.readstring(dot) gv.layout(gvv,'neato') gv.render(gvv,'png','graph.png')
ADDITIONAL INFORMATION
I have attempted to use 'dot' as the layout in addition to 'neato' (I'm creating a digraph if that matters).
I have also attempted to create JPEG and GIF images in addition to PNG images. In all cases the image file is created but it is zero bytes.
Please also note defect #1479 (closed) is similar if not identical.