Skip site navigation (1)Skip section navigation (2)
Date:       Tue, 17 Nov 98 17:43:16 +0300 (MSK) 
From:      0824@08700000.mhs.rosmail.com
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Linux emulation problem : RH5.0 binaries on 2.2.7R.
Message-ID:  <BDB8513680D49698@rosmail.com>

next in thread | raw e-mail | index | archive | help
> >  
> >  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")??
 
 Vlad Safronov.
 
 
 
 

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?BDB8513680D49698>