使用Graphviz遇到的一个错误
在使用段老师给的seems.tar.gz时,发现系统无法描绘出path的路径图像。
运行dot生成图像时提示:
Error: Layout was not done. Missing layout plugins
解决办法,由root运行dot -c一次即可。
Its is looking for its plugins at runtime in the location
/usr/lib/graphviz/ (or /usr/lib64/graphviz/ on 64bit machines),
where the prefix, “/usr”, is set at ./configure time or at install-time.
So dot is not run-time relocatable in the way you are trying. It is
install-time relocatable, but that requires root access.
/usr/lib/graphviz/config is created at install-time, by running “dot
-c” as root. It is a record of the plugins found in
/usr/lib/graphviz/libgvplugin-*