*BSD News Article 68467


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!serv.hinet.net!nctuccca.edu.tw!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!ensta!not-for-mail
From: bouyer@mallorne.polytechnique.fr (Manuel Bouyer)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Re: ld.so
Date: 14 May 1996 08:55:09 GMT
Organization: Ecole Nationale Superieure de Techniques Avancees (ENSTA), Paris
Lines: 25
Message-ID: <4n9hpd$ee3@ici-paris.ensta.fr>
References: <31961bbd.42616955@news> <4n6svh$akb@ici-paris.ensta.fr> <Stefan.Arentz-1305962216100001@thuis.rotterdam.luna.net>
NNTP-Posting-Host: mallorne.polytechnique.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
To: Stefan.Arentz@Luna.Net
X-Newsreader: Newsview 0.38 (pre-beta)

Stefan Arentz (Stefan.Arentz@Luna.Net) wrote:
> Like this:
> 
> rc.local:
> 
> if [ -f /sbin/ldconfig ]; then
>         echo 'creating runtime link editor directory cache.'
>         ldconfig
>         ldconfig -m /usr/X11R6/lib
> fi
> 
> Don't forget the -m flag to merge the result in the hints file.
> 

Hum, my rc.local looks like this:

echo 'runtime link editor directory cache'
ldconfig /usr/X11R6/lib

Works fine for me.

-- 
Manuel Bouyer, LIX, Ecole Polytechnique
email: bouyer@lix.polytechnique.fr
--