Subject: pkg: shared library detection with ELF
To: None <port-pmax@NetBSD.ORG, current-users@NetBSD.ORG>
From: Chris Jones <cjones@caesar.honors.montana.edu>
List: port-pmax
Date: 02/05/1998 14:32:06
I've deleted the message I'm actually replying to, so here's a new
thread:

I just sent in a pr (pkg/4942) that allows ELF machines (or at least
my pmax machine) to detect if specific shared libraries are installed
already.  This is very useful in the context of the package system.
It works by using "ldconfig -p" instead of "ldconfig -r", which is
what's used on a.out systems.

The patch is an ugly hack, but it works, and it doesn't seem to break
anything on a.out systems.

Chris

-- 
-------------------------------------------------------------------------------
Chris Jones                                      cjones@rupert.oscs.montana.edu
           Mad scientist in training...
"Is this going to be a stand-up programming session, sir, or another bug hunt?"