Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Nov 1998 09:22:38 -0800 (PST)
From:      Doug White <dwhite@resnet.uoregon.edu>
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.
Message-ID:  <Pine.BSF.4.03.9811170921300.6774-100000@resnet.uoregon.edu>
In-Reply-To: <C217D2D781F0D57E%C217D2D781F0D57E@mhs.mhs.rosmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.03.9811170921300.6774-100000>