*BSD News Article 68437


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!surfnet.nl!news.rotterdam.luna.net!thuis.rotterdam.luna.net!user
From: Stefan.Arentz@Luna.Net (Stefan Arentz)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Re: ld.so
Date: Mon, 13 May 1996 22:16:10 +0200
Organization: Luna Internet
Lines: 27
Message-ID: <Stefan.Arentz-1305962216100001@thuis.rotterdam.luna.net>
References: <31961bbd.42616955@news> <4n6svh$akb@ici-paris.ensta.fr>
NNTP-Posting-Host: thuis.rotterdam.luna.net

In article <4n6svh$akb@ici-paris.ensta.fr>,
bouyer@mallorne.polytechnique.fr (Manuel Bouyer) wrote:

> Eric Sit (esit@mit.edu) wrote:
> > How do i recompile my ld.so file?  I think i need to do this to get
> > X-windows 3.1.2D to work with my multiple libraries because it seems
> > to be getting confused...
> > 
> 
> Sounds strange to me. I think you just need to install the libraries in
> /usr/X11/lib (or /usr/X11R6/lib, this should be in some doc of X 3.1.2D),
> and then 'ldconfig /usr/X11/lib'. (You may want to put that in your
> rc.local).

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.

 -- Stefan