Subject: bin/2438: tn3270 doesn't work with src/domestic
To: None <gnats-bugs@NetBSD.ORG>
From: Andrew Gillham <gillhaa@ghost.whirlpool.com>
List: netbsd-bugs
Date: 05/19/1996 14:38:06
>Number:         2438
>Category:       bin
>Synopsis:       tn3270 doesn't work with src/domestic
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 19 15:05:04 1996
>Last-Modified:
>Originator:     Andrew Gillham
>Organization:
Whirlpool Corporation
>Release:        May 18, 1996 (and for the last X months)
>Environment:
	
System: NetBSD ghost 1.1B NetBSD 1.1B (GHOST) #0: Tue May 14 19:18:56 EDT 1996 gillhaa@ghost:/usr/src/sys/arch/i386/compile/GHOST i386


>Description:
	tn3270 doesn't work if src/domestic is installed.

/usr/libexec/ld.so: Undefined symbol "_krb_err_txt" in tn3270:/usr/lib/libtelnet.so.1.0


/usr/bin/tn3270:
	-lcurses.2 => /usr/lib/libcurses.so.2.1 (0x10034000)
	-ltermcap.0 => /usr/lib/libtermcap.so.0.0 (0x1003f000)
	-ltelnet.1 => /usr/lib/libtelnet.so.1.0 (0x10041000)
	-lcrypt.0 => /usr/lib/libcrypt.so.0.0 (0x1004b000)
	-lc.12 => /usr/lib/libc.so.12.5 (0x10051000)

/usr/bin/telnet:
	-ltermcap.0 => /usr/lib/libtermcap.so.0.0 (0x10029000)
	-ltelnet.1 => /usr/lib/libtelnet.so.1.0 (0x1002b000)
	-lkrb.2 => /usr/lib/libkrb.so.2.0 (0x10035000)
	-ldes.2 => /usr/lib/libdes.so.2.0 (0x10046000)
	-lcrypt.0 => /usr/lib/libcrypt.so.0.0 (0x10050000)
	-lc.12 => /usr/lib/libc.so.12.5 (0x10056000)

>How-To-Repeat:
	% tn3270
>Fix:
	Link statically.  Or don't install src/domestic/lib/libtelnet.
	Presumably replacing the regular libtelnet shared library with
	the domestic one breaks tn3270 because libtelnet seems to depend
	on libkrb which isn't linked to tn3270.  I am assuming this is
	a tn320 bug, not a libtelnet bug.

>Audit-Trail:
>Unformatted: