I did a little googling for your error, and found this
. It's difficult to get much out of that link, there's not a whole lot of context to go on, but try typing
at the command prompt, and paste the result back in to a reply. The link implies that /bin/mktemp (which is called by nroff), requires $LD_LIBRARY_PATH to be set. If it's not, that might cause the issue.
That's called shootin' from the hip, folks.