From owner-freebsd-questions Mon Mar 22 1:55:14 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ns1.rbh.nthames.nhs.uk (ns1.rbh.nthames.nhs.uk [193.61.118.1]) by hub.freebsd.org (Postfix) with SMTP id 9907415097 for ; Mon, 22 Mar 1999 01:54:50 -0800 (PST) (envelope-from p.schmidt@rbh.nthames.nhs.uk) Received: from orion (SchmidtP.rbh.nthames.nhs.uk [193.61.117.10]) by ns1.rbh.nthames.nhs.uk (8.6.8.1/SCA-6.6) with SMTP id JAA10104 for ; Mon, 22 Mar 1999 09:54:18 GMT Received: by localhost with Microsoft MAPI; Mon, 22 Mar 1999 09:49:01 -0000 Message-ID: <01BE7449.3698A2C0.p.schmidt@rbh.nthames.nhs.uk> From: "Dr. Peter SChmidt" Reply-To: "p.schmidt@rbh.nthames.nhs.uk" To: "'freebsd-questions@FreeBSD.ORG'" Subject: FW: XF86 3.3.3 library problem with FreeBSD 3.1-RELEASE Date: Mon, 22 Mar 1999 09:49:00 -0000 Organization: Royal Brompton Hospital X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Subject: XF86 3.3.3 library problem with FreeBSD 3.1-RELEASE Hi: >Hi, > > I haven't been able to determine whether or not this is a problem with >FreeBSD or X Windows, so I'm posting this to both lists. Basically, when >I go to run XF86Setup (or basically any executable binary in >/usr/X11R6/bin) I get the error: > > ' ld.so failed: Can't find shared library "libXaw.so.6.1" ' I encountered a similar problem. Only, this occured when trying to run x-programs, like "filerunner". I think the problem is somehow related to the elf/aout configuration on the system. There is a file called 'objformat' in the /etc directory. As XF86 3.3.3.1 should be elf binaries (just as the 3.1 RELEASE) this should contain the single line: OBJFORMAT=elf In the rc.conf file there are to ldconfig_paths variables and they should contain the /usr/X11R6/lib directory. ldconfig_paths="/usr/compat /usr/X11R6/lib /usr/local/lib" For compatibility reasons and in order to run old a.out format binaries the variable ldconfig_paths_aout should contain all directories containing old a.out libraries such as e.g. /usr/compat/aout Hope that helps Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message