Update: I tried again with a pristine install of NetBSD 9.1. configure does not get dependencies wrong, that was another problem. So the recipe is now simply: 1. Pristine default install of NetBSD with pkg_src and pkgin 2. pkgin install tcl 3. ln -s /usr/include/readline editline 4. ./configure ; make This gives a correct binary (with a tlcstubs complaint on this platform, but that's a problem for another post. Some Linux distro maintainers asked me about that too.) The editline options in configure need to be reviewed carefully to get around the readline/editline switcharoo, which as I said I think applies to several other platforms. Dan Shearer