From owner-freebsd-questions Wed Apr 21 11:39:26 1999 Delivered-To: freebsd-questions@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id 81A2F15961 for ; Wed, 21 Apr 1999 11:36:38 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id LAA09916; Wed, 21 Apr 1999 11:34:08 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Wed, 21 Apr 1999 11:34:07 -0700 (PDT) From: Doug White To: Dennis Williamson Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Segmentation Fault from Linux Binary on FreeBSD 2.2.6 In-Reply-To: <371CED35.15FB7483@mailhost.iprg.nokia.com> 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, 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