From owner-freebsd-questions Thu Mar 6 11:08:35 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA04833 for questions-outgoing; Thu, 6 Mar 1997 11:08:35 -0800 (PST) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA04823 for ; Thu, 6 Mar 1997 11:08:30 -0800 (PST) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.5/8.6.12) with SMTP id LAA02146; Thu, 6 Mar 1997 11:07:43 -0800 (PST) Date: Thu, 6 Mar 1997 11:07:43 -0800 (PST) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: "Daniel A. Borlean" cc: freebsd-questions@FreeBSD.ORG Subject: Re: Missing libraries in FreeBSD In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, 5 Mar 1997, Daniel A. Borlean wrote: > ld.so failed: Can't find shared library "libXpm.so.4.6" Mr. Wells beat me to this one. > Again with X Windows emacs-19.14 I get another error: > > ld.so failed: Can't find shared library "libgcc.so.261.0" Jordan gave me the "proper" solution for this, assuming you have the compat21 dist installed. Make a small script in /usr/local/etc/rc.d/ with this as the contents: #!/bin/sh ldconfig -m /compat/lib if you're on 2.1.5 or earlier, you can modify /etc/rc and find the section that configures the ldconfig paths. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major