🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #7028

Help! xrn acting funny under BSD 4.1.2

#7028
From: rogerc
Date: Mon, 20 Dec 1993 13:18
35 lines
1657 bytes
I recently transferred a pre-compiled binary for xrn onto a BSD
4.1.2 machine.  After resolving most of the library references and
usual terminal configuration problems, I am occasionally getting
a message like:

ld.so: libXext.so.4 not found.

Now, the library in question resides in /usr/lib and also has a link in
/usr/local/lib, so I know that it should be find-able by ld.  Now - here's
the kicker.  The following command sequence(s) don't work in trying to
invoke xrn:

	xrn

	/usr/local/xrn

	cd /usr/local
	./xrn

All these attempts produce the ld.so message above.  The next script _does_
work, and I have no idea why!

	cd /usr/bin
	ls
	/usr/local/xrn

The key is apparently the 'ls' statement which must alter some library
search path when it executes... but why?  Does anyone have an idea what
is going on, and where (in the world) is ld.so looking for libXext.so.4
when it can't find it???

					- Roger Chen
					rogerc@exide.com    or:
					rogerc@dante.exide.com
Technical Details
Message-ID: <2f4vn0$cdr@dante.exide.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!gatech!concert!dante.exide.com!usenet

Show Full Headers
Complete Article Headers
Message-ID: <2f4vn0$cdr@dante.exide.com>
Subject: Help! xrn acting funny under BSD 4.1.2
Date: Mon, 20 Dec 1993 13:18:54 +0000
From: rogerc@exide.com
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!gatech!concert!dante.exide.com!usenet
Newsgroups: news.software.readers
Organization: Exide Electronics
Lines: 36
NNTP-Posting-Host: v137.exide.com
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII