[issue1539] screen reports "Must be connected to a terminal"

Alex Hornung (via DragonFly issue tracker) sinknull at leaf.dragonflybsd.org
Wed Sep 30 01:49:16 PDT 2009

Alex Hornung <ahornung at gmail.com> added the comment:

Seems that the problem is due to having an old libc.so.6 present on the system. 
As the old screen binary was linked against libc.so.6, it is using the outdated 
implementation of ttyname() which no longer is valid due to the dynamic nature 
of the ttys now.
Valid solutions are:
- Recompiling screen and similar programs
- remove old libc.so.6 and make symlink libc.so.6 -> libc.so.7

As for maintaining binary compatibility, this has been discussed before and it 
has been ok'ed to not keep binary compatibility for devname and ttyname.

Alex Hornung

status: need-eg -> resolved

DragonFly issue tracker <bugs at lists.dragonflybsd.org>

More information about the Bugs mailing list