Summary Question (was Ksh as root-bad advice)

From: Bruntel, Mitchell L, SOLCM <>
Date: Fri Jun 27 2003 - 07:50:12 EDT
OK. Thanks to all who've proved me absolutely wrong about COPYing ksh to
(wont work since still dependencies in /usr/lib.

Here goes last question about dependencies, and unused dependencies:

What would happen if I take the dependencies shown by LDD and copy them into
/sbin too?
(a: nothing?...)
ie copy the following files to /sbin:

for example: :
root@tape: /export/home/mbruntel #>  ldd /sbin/ksh =>   /usr/lib/ => 	    /usr/lib/ =>    /usr/lib/ =>        /usr/lib/ =>       /usr/lib/ =>       /usr/lib/ =>      /usr/lib/

(tried with first file):
root@tape: /export/home/mbruntel #>  ls -la /sbin/lib*
-rwxr-xr-x   1 root     other      70864 Jun 27 07:36 /sbin/

still shows with dependency:

BUT ldd -u (shows unused dependencies) shows:

root@tape: /export/home/mbruntel #>  ldd -u /sbin/ksh =>       /usr/lib/ =>          /usr/lib/ =>        /usr/lib/ =>            /usr/lib/ =>           /usr/lib/ =>           /usr/lib/ =>          /usr/lib/

   unused object=/usr/lib/
   unused object=/usr/lib/
   unused object=/usr/lib/
   unused object=/usr/lib/

Now what it SEEMS to say, is that (and other files)
are UNREFERENCED in the target (/sbin/ksh) file, yet still necessary.

ideas? Comments?  Discuss.
TIA. Mitch
PS: I love the list much better now that I am OUT of digest mode!
sunmanagers mailing list
Received on Fri Jun 27 07:53:40 2003

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:15 EST