Subject: intercepting library calls
To: None <port-sparc@netbsd.org>
From: Michael Ritzert <mjr@turbo.su.shuttle.de>
List: port-sparc
Date: 12/28/2000 12:16:14
in an attempt to port the library to reduce colormap flashin from
solaris to netbsd (1.4.1 a.out), i lack some information about the
dynamic linker.  Solaris offers the possibility to "preload" a library
specified in an environment variable LD_PRELOAD. To intercept with the
library to "patch", it uses dlsym(). dlsym() seems to be implemented
sufficiently functional in NetBSD to to the job, but what about the
LD_PRELOAD mechanism or something analogous?

Thanx

Michael