Failed to generate image: dot failed: Format: "png" not recognized

I am on Mac OS. I am writing a document using AsciiDoc. Within the document I have code like this:

["graphviz"]
----
digraph G {
  graph [splines=line];
...

I installed graphviz 12.0.0 from source as described in Source Code | Graphviz

./configure
make
make install

When I try to “build” my asciidoc I get this error:

asciidoctor: ERROR: xxx.adoc: line 195: Failed to generate image: dot failed: Format: "png" not recognized. Use one of: canon cmap cmapx cmapx_np dot dot_json eps fig gv imap imap_np ismap json json0 pic plain plain-ext pov ps ps2 svg svg_inline svgz tk xdot xdot1.2 xdot1.4 xdot_json

same error happens when I run dot -Tpng:

graphviz-12.0.0 ❯ dot -Tpng                                                          ⏎
Format: "png" not recognized. Use one of: canon cmap cmapx cmapx_np dot dot_json eps fig gv imap imap_np ismap json json0 pic plain plain-ext pov ps ps2 svg svg_inline svgz tk xdot xdot1.2 xdot1.4 xdot_json

How can I fix this? A copy of my config file is here