Issue while running graphviz - Format: "png" not recognized.

I have a problem running my application, RHEL linux, which uses Graphviz. the error is listed below. Can anyone help?? Thanks dot: /lib64/libz.so.1: no version information available (required by /usr/lib64/libgvc.so.6) Format: "png" not recognized. Use one of: canon cmap cmapx cmapx_np dot eps fig gv imap imap_np ismap pic plain plain-ext pov ps ps2 svg svgz tk vml vmlz xdot xdot1.2 xdot1.4 Errno::EPIPE - Broken pipe: application.rb:31:in `write' application.rb:31:in `block in dot_for' application.rb:30:in `popen' application.rb:30:in `dot_for' application.rb:229:in `block in
' /usr/lib64/ruby/gems/1.9.1/gems/sinatra-1.4.3/lib/sinatra/base.rb:1541:in `call'

Re: Issue while running graphviz - Format: "png" not recognized.

Please run:

    echo "digraph {hello->world}" | dot -v 2>stderrout >/dev/null

and attach the resulting "stderrout" file.

Are you installing from rpms?   You might just need to install graphviz-x to get the pangocairo plugin.

Not sure about the /lib64/libz.so.1 issue.  Is it a fresh install of centos-7 ?

same problem: png not recognized

I get the same error message* on centos7 & a fresh install of graphviz2.38. Here is the output of stderrout with the above suggestion: 

 

dot - graphviz version 2.38.0 (20140413.2041)

libdir = "/usr/local/lib/graphviz"

Activated plugin library: libgvplugin_dot_layout.so.6

Using layout: dot:dot_layout

Activated plugin library: libgvplugin_core.so.6

Using render: dot:core

Using device: dot:dot:core

The plugin configuration file:

    /usr/local/lib/graphviz/config6

        was successfully loaded.

    render    :  dot fig map pic pov ps svg tk vml xdot

    layout    :  circo dot fdp neato nop nop1 nop2 osage patchwork sfdp twopi

    textlayout    : 

    device    :  canon cmap cmapx cmapx_np dot eps fig gv imap imap_np ismap pic plain plai

n-ext pov ps ps2 svg svgz tk vml vmlz xdot xdot1.2 xdot1.4

    loadimage    :  (lib) eps gif jpe jpeg jpg png ps svg

pack info:

  mode   undefined

  size   0

  flags  0

  margin 8

pack info:

  mode   node

  size   0

  flags  0

fontname: "Times-Roman" resolved to: [internal times]

network simplex:  2 nodes 1 edges maxiter=2147483647 balance=1

network simplex: 2 nodes 1 edges 0 iter 0.00 sec

Maxrank = 1, minrank = 0

mincross: pass 0 iter 0 trying 0 cur_cross 0 best_cross 0

mincross %3: 0 crossings, 0.00 secs.

network simplex:  3 nodes 2 edges maxiter=2147483647 balance=2

network simplex: 3 nodes 2 edges 0 iter 0.00 sec

routesplines: 1 edges, 3 boxes 0.00 sec

Using render: dot:core

Using device: dot:dot:core

gvRenderJobs %3: 0.00 secs.

 

*Format: "png" not recognized. Use one of: canon cmap cmapx cmapx_np dot eps fig gv imap imap_np ismap pic plain plain-ext pov ps ps2 svg svgz tk vml vmlz xdot xdot1.2 xdot1.4

Recent comments