Re: Merkwürdiges Library-Problem (ldconfig?)

From: Oliver Fromme <olli(at)lurza.secnetix.de>
Date: Mon, 21 Jun 2004 13:01:50 +0200 (CEST)

Bernd Muent <Bernd.Muent(at)euroscript.de> wrote:
> Meine /etc/ld.so.conf auf meiner Linux-Workstation sieht so aus:
> root(at)workstation:~>cat /etc/ld.so.conf
> /usr/lib
> /usr/local/lib
> /opt/gnome/lib
> [...]

Inwiefern ist das besser als ein Eintrag in rc.conf? Meiner
Meinung nach ist es der Übersichtlichkeit nicht zuträglich,
wenn man für jeden Furz eine eigene Konfigurationsdatei hat.
Es ist besser, sowas in einer Datei zu sammeln, vor allem
wenn es sich um Dinge handelt, die man normalerweise nicht
anrühren muß (und nicht anrühren sollte!).

> Und ein Aufruf von ldconfig -v bringt mir eine sehr übersichtliche
> Ausgabe, in der man z.B. mit einer grep-Pipe sehr gezielt suchen kann.
> Nur mal als Auszug die letzten paar Zeilen:
> /usr/lib/mozilla:
> libflashplayer.so -> libflashplayer.so
> libgtkembedmoz.so -> libgtkembedmoz.so
> libmsgbaseutil.so -> libmsgbaseutil.so
> [...]

Äh, was soll daran übersichtlich sein? Zum Greppen eignet
sich das Ausgabeformat nicht -- dafür ist das Ausgabeformat
Von BSD's »ldconfig -r« besser geeinet.

Gruß
   Olli

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.
"File names are infinite in length, where infinity is set to 255 characters."
        -- Peter Collinson, "The Unix File System"
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Mon 21 Jun 2004 - 13:03:25 CEST

search this site