Subject: xsrc/23174: xdm exits at startup
To: None <>
From: None <>
List: netbsd-bugs
Date: 10/16/2003 23:24:25
>Number:         23174
>Category:       xsrc
>Synopsis:       xdm exits at startup
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 17 06:25:00 UTC 2003
>Originator:     Wolfgang S. Rupprecht
>Release:        NetBSD 1.6ZD
W S Rupprecht Computer Consulting, Fremont CA
System: NetBSD 1.6ZD NetBSD 1.6ZD (WSRCC_ATHLON) #0: Wed Oct 15 12:36:22 PDT 2003 i386
Architecture: i386
Machine: i386
	a natively compiled xdm refuses to run on 1.6ZD (xdm compiled
	and linked with stock gcc3.3.1 compiler on 1.6ZD.)

	/var/log/xdm-errors has a complaint that xdm can't find the
	library file /usr/X11R6/lib/X11/xdm/ .  Putting
	a symlink in there pointing towards
	/usr/X11R6/lib/ will allow xdm to hobble along
	and run, but the central xdm window is still messed up with no
	highlighting around the username and password text entry

	NB: there was never a library in this
	directory.  Something changed and xdm is no longer looking in
	/usr/X11R6/lib/ .


	compile and install a stock x11 from /usr/xsrc.  reboot to get
	a fresh start.  Realize that fresh starts aren't all they are
	cracked up to be. Congratulate oneself on having a few getty's
	on alternate screens.

	work around:

	cd /usr/X11R6/lib/X11/xdm/ && ln -s /usr/X11R6/lib/ .

	I suspect the loadpath logic for gcc3 is different.