When building software on netbsd, the linking stage requires the use of rpath
as described in
http://www.netbsd.org/docs/elf.html#elf-rpath
The easiest way to achieve this is to pass -Wl,-R/some/dir flags with LDFLAGS
to the configure script. However this variable (though advertised in the help
of the main configure script) is not honored in tkimg, leading to being unable
to load it with messages like
couldn't load file "/home/emiliano/tkimg-code-392-trunk/dted/libtkimgdted1.4.4.so": Shared object "libX11.so.7" not found
despite being configured with LDFLAGS="-Wl,-R/usr/X11R7/lib"
So far this is the only problem on this platform, since the libraries loads
and run if LD_LIBRARY_PATH is set to the missing directories
Old Tcl and Img version.
Please reopen, if relevant with Tcl >= 8.6 and current Img.