From owner-freebsd-questions Tue Nov 17 09:23:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA09670 for freebsd-questions-outgoing; Tue, 17 Nov 1998 09:23:13 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA09665 for ; Tue, 17 Nov 1998 09:23:12 -0800 (PST) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id JAA17381; Tue, 17 Nov 1998 09:22:39 -0800 (PST) (envelope-from dwhite@resnet.uoregon.edu) Date: Tue, 17 Nov 1998 09:22:38 -0800 (PST) From: Doug White To: Vladislav SAFRONOV <0824@08700000.mhs.rosmail.com> cc: freebsd-questions@FreeBSD.ORG Subject: Re: Linux emulation problem : RH5.0 binaries on 2.2.7R. In-Reply-To: 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 On Tue, 17 Nov 1998, Vladislav SAFRONOV wrote: > > > I have Freebsd 2.2.7R and Redhat 5.0 Linux. I have installed > > > linux emulation on FreeBSD box the way it was recommended in the > > > handbook. Then I wrote and compile a simple program (a sort of > > > "hello world") on my Linux box and tried to run it under Freebsd. > > > Well, the helloworld program complaied about missing libraries > > > ld-linux.so.2, libc.so.6. So I retreived these files from Linux > > > box an put them to /compat/linux/lib, reran /compat/linux/sbin/ > > > ldconfig and ran helloworld again. This what I got: > > > > Did you: > > > > 1. Install the linux_lib port? > > 2. Install the Linux mulator? > > Yes, I did everything what was recommended in FreeBSD HandBook > "Linux emulation". I even compile the helloworld.c with option > "-static" : gcc -o hw -static helloworld.c so the program > does not need dynamic libraries. When I run it I got the same > message: Segmentation fault. I have no idea what to do! > Is that a problem of Redhat 5.0 (because its new c lib "glibc2")?? Maybe, glibc2 may want LinuxThreads and they aren't supported yet. Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message