On 2025/06/17 17:31, Stuart Henderson wrote:
> On 2025/06/17 18:24, Caspar Schutijser wrote:
> > Hi,
> > 
> > $ dnsviz print             
> > pygraphviz is required, but not installed
> > 
> > This happens when math/py-pygraphviz is installed but math/graphviz
> > isn't.
> > /usr/local/lib/python3.12/site-packages/pygraphviz/_graphviz.cpython-312.so
> > needs libraries provided by math/graphviz at runtime too, not just at
> > buildtime.
> > 
> > I think this is the way to fix it.
> > 
> > Comments or OKs?
> 
> $ make port-lib-depends-check
> 
> py3-pygraphviz-1.14(math/py-pygraphviz):
> Missing lib: cdt.3 
> (/usr/local/lib/python3.12/site-packages/pygraphviz/_graphviz.cpython-312.so) 
> (NOT REACHABLE)
> Missing lib: cgraph.2 
> (/usr/local/lib/python3.12/site-packages/pygraphviz/_graphviz.cpython-312.so) 
> (NOT REACHABLE)
> Missing lib: gvc.3 
> (/usr/local/lib/python3.12/site-packages/pygraphviz/_graphviz.cpython-312.so) 
> (NOT REACHABLE)
> 
> ok.
> 
> (tests are broken too.)

... MODPY_TEST_LINK_SO=Yes fixes that.

Reply via email to