This seemed to work.
Now when I try one of the commands (dwgread) I have the error:
dwgread: error while loading shared libraries: libredwg.so.0: cannot open shared object file: No such file or directory
Although the library in question is installed in "/usr/local/lib/".
I did not capture the build logs, nor do I know where they are.
Debian 8 on an arm64 processor.
Porcine Associates LLC