From owner-freebsd-questions Sun Nov 3 13:40:30 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B888B37B401 for ; Sun, 3 Nov 2002 13:40:28 -0800 (PST) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1011C43E42 for ; Sun, 3 Nov 2002 13:40:27 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id gA3LeFMO013058 for ; Sun, 3 Nov 2002 21:40:15 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id gA3LeA8J013057 for FreeBSD-Questions@FreeBSD.ORG; Sun, 3 Nov 2002 21:40:10 GMT Date: Sun, 3 Nov 2002 21:40:10 +0000 From: Matthew Seaman To: FreeBSD Questions LIST Subject: Re: ld-elf.so.1 error Message-ID: <20021103214010.GA10194@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , FreeBSD Questions LIST References: <20021103122507.B509-100000@dhcp-407-32.san.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021103122507.B509-100000@dhcp-407-32.san.rr.com> User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-14.7 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_02_03, USER_AGENT,USER_AGENT_MUTT version=2.41 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Nov 03, 2002 at 12:30:05PM -0800, Peter Leftwich wrote: > # emacs > /usr/libexec/ld-elf.so.1: Shared object "libXaw3d.so.7" not found > > I had this problem once before. Emacs worked fine. Then I installed > (partially, a broken) XFree86 4.2.0 and then emacs stopped working with a > similar error. Reinstalling X fixed it but is there an easier fix?? > > For example, is there some trusted place I can simply download > libXaw3d.so.7 to "trick" emacs into working properly? Hope I can fix this! If you mean somewhere you can download libXaw3d *from*, well your best bet is just to copy the file from some other FreeBSD box or from backup. Failing that, if you pull down and install the Xaw3d package or reinstall the x11-toolkits/Xaw3d port it will supply the missing shared library. You can tell which package installed that library by: % pkg_info -W /usr/X11R6/lib/libXaw3d.so.7 /usr/X11R6/lib/libXaw3d.so.7 was installed by package Xaw3d-1.5 If, on the other hand, you mean where can you download a copy of the shared library *to* then: * Shared libraries installed by ports generally go into ${PREFIX}/lib. For X-Windows stuff, that's /usr/X11R6/lib. (System shlibs go into /usr/lib) * Shared libraries can be installed into any directory so long as ldconfig(8) is run to let the system know about it -- for instance portupgrade will keep copies of any obsolete shlib from an old package in /usr/local/lib/compat/pkg. * If you modify any shared libraries, you should rebuild the system's cache of shared library hints by running ldconfig(8): ldconfig -R will recheck all previously known directories containing shlibs. ldconfig -m /some/dir will rescan as above and also merge in any shlibs found in the named directory. ldconfig -r will list the current hints file. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message