ldconfig

Dan Osterrath do3 at mail.inf.tu-dresden.de
Thu Oct 17 07:18:48 PDT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> ldconfig -p output load of stuff on my LFS. Lets eliminate the easy ones:
>   You have to run ldconfig to update the cache.
>   /etc must be writable when you do.

$ echo $UID - $LOGNAME
0 - root

$ ls -l / | grep etc
drwxr-xr-x 8 root root 4096	Okt 17 15:29 etc

$ ls -l /etc/ld.so.c*
- -rw-r--r-- 1 root root 64 Okt 17 16:02 /etc/ld.so.cache
- -rw-r--r-- 1 root root 31 Okt 17 15:03 /etc/ld.so.conf

$ cat /etc/ld.so.conf
/usr/local/lib
/usr/X11R6/lib

$ ldconfig -v
/lib:
/usr/lib:
/usr/local/lib:
/usr/X11R6/lib:

$ ldconfig -vp
0 libs found in cache `/etc/ld.so.cache'

This was really just too easy! Other ideas?
- -- 
- ----------------------------------------------------------------------
%> ln -s /dev/null /dev/brain
%> ln -s /dev/urandom /dev/world
%> dd if=/dev/world of=/dev/brain
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9rsbI9NbB8EM160MRAhuJAKCIBu+lqZFFhHda5naPu35oEyDuLwCfdCuT
ZsoFG0hRexOjNmbftevkyXw=
=Q4ga
-----END PGP SIGNATURE-----

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list