Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Apr 1999 11:34:07 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        Dennis Williamson <dennisw@iprg.nokia.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Segmentation Fault from Linux Binary on FreeBSD 2.2.6
Message-ID:  <Pine.BSF.4.03.9904211133130.27954-100000@resnet.uoregon.edu>
In-Reply-To: <371CED35.15FB7483@mailhost.iprg.nokia.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 20 Apr 1999, Dennis Williamson wrote:

> I've run into a problem running a linux binary under FreeBSD:
> 
> I've installed & run linux compatibility emulation on a FreeBSD
> 2.2.6 machine in accordance with the instructions located here:
> 
> http://www.ie.freebsd.org/handbook/handbook310.html
> 
> I've tested some simple binaries (like ldd) to make sure everything
> seems to work.  However, I am having problems running a tcl shell
> from a 3rd party linux vendor.  The shell runs ok under RedHat 5.4
> linux but crashes w/a segmentation fault on my FreeBSD 2.2.6
> machine running the linux compatibility mods.
> 
> Does anyone know where I might get ahold of another linux-based
> tcl to test????
> 
> Does the segmentation fault probably point to a linker-loader
> problem???

Without more information, it's hard to tell.  You may need to use
'brandelf -T linux /path/to/tclsh' to mark the tclsh as Linux vs. FreeBSD.

> The tcl shell tested has its own dynamically linked libs that
> have been copied directly from a linux machine.  Would I be
> better off attempting a static link of tcl instead????

That might work too.

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.9904211133130.27954-100000>