Subject: dynamic loading
To: None <netbsd-help@netbsd.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: netbsd-help
Date: 11/08/2002 22:52:06
I just booted up a laptop with an install disk, and find I want real grep
(as opposed to sed). I made some memory disks for /lib /usr/lib /libexec,
ftp'd /usr/bin/grep /lib/libc.so... /usr/lib/libintl.so...
/libexec/ld.so_elf chmod'd 555 and made a load of links eg /usr/lib/libc.so
-> /lib/libc.so.12.88. Running grep gives me "Syntax error: word
unexpected.." I suspect I missed something, but what? ld.so.conf isn't
needed is it? (Might be simpler to make a static grep in the meantime, but
wouldn't mind learning what I missed!)

Cheers,

Patrick