[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: why are there /bin and /usr/bin...



On August 10, 2010 03:53:10 pm Goswin von Brederlow wrote:
> Bruce Sass <bmsass@shaw.ca> writes:
> > I was curious so...
> > $ for f in /bin/* /sbin/*; do if [ "`file $f | grep ELF`" != "" ] ;
> > then if [ "`ldd $f | grep /usr`" != "" ] ; then echo `dpkg -S $f`;
> > ldd $f; fi; fi; done
> > iputils-ping: /bin/ping6
> >         linux-gate.so.1 =>  (0xb770d000)
> >         libresolv.so.2 => /lib/i686/cmov/libresolv.so.2
> > (0x472dc000) libcrypto.so.0.9.8 =>
> > /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0x4882b000)
>
> Note that there is /lib/libcrypt* (at least here).

Yes, libcrypt (from the libc6 package) exists as a regular file 
under /lib and a symlink under /usr/lib... if libcrypto (from the 
libssl0.9.8 package) did the same dhclient wouldn't have failed on me 
and I wouldn't be here. :)


Reply to: