From owner-freebsd-questions Thu Mar 4 15:24:50 1999 Delivered-To: freebsd-questions@freebsd.org Received: from hades.riverstyx.net (cr959997-a.crdva1.bc.wave.home.com [24.113.1.166]) by hub.freebsd.org (Postfix) with ESMTP id C5B3F14FC4 for ; Thu, 4 Mar 1999 15:24:48 -0800 (PST) (envelope-from unknown@riverstyx.net) Received: from localhost (unknown@localhost) by hades.riverstyx.net (8.8.8/8.8.8) with ESMTP id PAA20601 for ; Thu, 4 Mar 1999 15:26:15 -0800 (PST) (envelope-from unknown@riverstyx.net) Date: Thu, 4 Mar 1999 15:26:15 -0800 (PST) From: To: freebsd-questions@freebsd.org Subject: i740 based video cards and linux emulation Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I found the Linux X server for the i740, but I can't get it to run under FreeBSD. I think I've got the Linux emulation libraries installed, but I keep running into problems. I tossed the .rpm onto one of my Redhat machines and installed it. ldd reported that I needed libm.so.6, libc.so.6, libdl.so.2, and /lib/ld-linux.so.2. All of those come with the linux-compat package, so I didn't figure I'd need anything. I also ran cksum on both the FreeBSD box and the RedHat box, and they matched. Then I got the rpm package from the BSD ports collection, installed it, used it to install the xi740.rpm with --ignore-arch, --ignore-os --nodeps. That worked fine also. First off it wasn't recognizing the file format, so I ran brandelf -t Linux on it. That appeared to fix that problem, but now it just core dumps. I tried running ldd on it to see if maybe it was missing some libraries, and: # ldd-linux /usr/X11R6/bin/XBF_i740 /usr/bin/ldd-linux: /lib/ld-linux.so.2: not found That didn't really make sense to me since ld-linux.so.2 was in /compat/linux/lib, and I'd already run ldconfig-linux. I put ld-linux.so.2 in /lib (after making that directory) and tried ldd again: # ldd-linux /usr/X11R6/bin/XBF_i740 /lib/ld-linux.so.2: 1: Syntax error: "(" unexpected not a dynamic executable Now, I know that ld-linux.so.2 is statically linked, but why should that matter? And what's with that syntax error? I'm pretty much lost here. --- Tani Hosokawa River Styx Internet To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message