Build bug: libtcldot.so apparently not honoring build prefix

When I build Graphviz 14.0.1 and then run my tool to check that dependencies are correct, I see that libtcldot.so is depending versions of shared libraries that are installed on my system instead of the ones being built. There are no such problems with any of the other libraries or executables that are built.

I don’t actually need libtcldot.so for my current purpose, but I thought I should report the problem.

I can’t reproduce this. Can you say more about your system and how you’re verifying this? Building the 14.0.1 release on Ubuntu 22.04 and checking with ldd I see libtcldot.so linked against the built libraries, not the system ones.

How do I reproduce it?

When I do

./configure

I get

(...)

graphviz-14.0.1 will be compiled with the following:

(...)

  gv_tcl:        No (tcl not available)

  tcldot:        No (tcl not available)
  tclpathplan:   No (tcl not available)
  gdtclft:       No (tcl not available)

Am I missing some packages?