From owner-freebsd-emulation Thu Jan 29 06:57:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA18303 for freebsd-emulation-outgoing; Thu, 29 Jan 1998 06:57:25 -0800 (PST) (envelope-from owner-freebsd-emulation@FreeBSD.ORG) Received: from word.smith.net.au (ppp4.portal.net.au [202.12.71.104]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA18298 for ; Thu, 29 Jan 1998 06:57:20 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id BAA00724; Fri, 30 Jan 1998 01:20:07 +1030 (CST) Message-Id: <199801291450.BAA00724@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: "Sean J. Schluntz" cc: "Mike Smith" , freebsd-emulation@FreeBSD.ORG Subject: Re: Executor launch error, can't find libdb? In-reply-to: Your message of "Thu, 29 Jan 1998 06:45:52 PDT." <199801291440.GAA05074@gromit.pinpt.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 30 Jan 1998 01:20:04 +1030 From: Mike Smith Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe freebsd-emulation" > *From the fingers of Mike Smith > >> I'm attempting to run executor under XInsides' cde on Xaccel on a > >> FreeBSD v2.2.5 system. When I run executor it errors out: > >> > >> executor: can't load library 'libdb.so.2' > >> > >> I've located the library (from the RedHad distribution of Linux) and > >> placed it in the /usr/compat/linux/usr/i486-linuxaout/lib directory with > >> the libdb.so.1.85.1 file and the libdb.so.1 file that's a link to the > >> 1.85.1 file. > > > >This directory is only searched for a.out binaries; isn't Executor ELF > >these days? > > It's both, but I installed the a.out binaries because I wasn't sure about > FreeBSD's support of ELF at this time. FreeBSD supports ELF just fine. > Would I have better luck running the ELF version? I don't know. As a general rule, avoid attempting to use a.out Linux applications, as they are normally obsolete these days. > >> I've also run the /compat/linux/sbin/ldconfig. But still executor gives > >> me this same error. What can I try now? > > > >When you ran ldconfig, did it create a libdb.so.2 symlink? If not, > >then it hasn't looked in the correct directory, and you may want to try > >making it yourself. > > No it didn't, but then again I got a copy of libdb.so.2 from RedHat so I > didn't think I would need a symlink since I have the file. Also, > according to the info on libdb versions after 1.86 are not compatible > with versions before 1.85, 1.85 is what FreeBSD ships with. If you got the library from RedHat, it is probably an ELF library. Check with the 'file' command; if it is, you've put it in the wrong place. (And it won't work with your a.out executable). > But even with the libdb.so.2 in the directory executor still errors out. > ? > > -Sean > > ---------------------------------------------------------------------- > Sean J. Schluntz schluntz@pinpt.com > Systems Engineer (408) 997-6900 x222 > PinPoint Software Corporation http://www.pinpt.com > > -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\