From owner-freebsd-questions Wed Mar 20 18:26:52 2002 Delivered-To: freebsd-questions@freebsd.org Received: from roc-66-66-72-6.rochester.rr.com (roc-66-66-72-6.rochester.rr.com [66.66.72.6]) by hub.freebsd.org (Postfix) with ESMTP id 4D10637B404 for ; Wed, 20 Mar 2002 18:26:47 -0800 (PST) Received: by roc-66-66-72-6.rochester.rr.com (Postfix, from userid 1000) id 13DC0901A00; Wed, 20 Mar 2002 21:25:30 -0500 (EST) Date: Wed, 20 Mar 2002 21:25:30 -0500 From: mpd To: Alex Rodioukov Cc: Jeff Jeter , FreeBSD Questions Subject: Re: Linux binaries won't run Message-ID: <20020320212529.A60972@rochester.rr.com> References: <87r8me64vw.fsf@bismark.io.sys> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <87r8me64vw.fsf@bismark.io.sys>; from simuran@shaw.ca on Wed, Mar 20, 2002 at 07:17:39PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Mar 20, 2002 at 07:17:39PM -0700, Alex Rodioukov wrote: > Jeff Jeter writes: > > > I am having trouble running some linux binaries. Some (netscape) run > > fine, others(staroffice 6 setup; open office bin setup) do nothing @ > > all when i dblclik on them in Konquerer and say command not found if i > > try to run them in a terminal. How do i run these binaries? Please > > Help. > > You might want to look inside these "binaries". They might be not > binaries at all, being shell scripts. If it is the case, then their > linux origin will make me highly suspicous of them having > "#!/bin/bash" as the first line. Change it to "#!/usr/local/bin/bash" > (if you have bash port installed) or to "#!/bin/sh". You can also just run /path/to/shell script, without having to change the script. Depending on what it is you're trying to run, you may need to use /usr/compat/linux/bin/bash as the shell. > > Regards, > Alex. > > mike -- ___________________________________________________________ "ORANGES, APPLES, BANANAS, AND PEARS! THESE ARE THE FRUITS THAT ARE FAVORED BY BEARS" - Little Girls from "THE FOODS FAVORED BY BEARS" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message