From owner-freebsd-ports Sat Jul 10 13:29: 3 1999 Delivered-To: freebsd-ports@freebsd.org Received: from gaia.euronet.nl (gaia.euronet.nl [194.134.0.10]) by hub.freebsd.org (Postfix) with ESMTP id CFA9C14D39 for ; Sat, 10 Jul 1999 13:28:57 -0700 (PDT) (envelope-from freebsd-ports@scc.nl) Received: from scones.sup.scc.nl (i242.ztm.euronet.nl [194.134.67.43]) by gaia.euronet.nl (8.8.8/8.8.8) with ESMTP id WAA15290 from for ; Sat, 10 Jul 1999 22:28:55 +0200 (MET DST) Received: (from daemon@localhost) by scones.sup.scc.nl (8.9.3/8.9.3) id WAA05383 for ports@FreeBSD.ORG; Sat, 10 Jul 1999 22:22:11 +0200 (CEST) (envelope-from freebsd-ports@scc.nl) Received: from GATEWAY by scones.sup.scc.nl with netnews for ports@FreeBSD.ORG (ports@FreeBSD.ORG) To: ports@FreeBSD.ORG Date: Sat, 10 Jul 1999 22:22:08 +0200 From: Marcel Moolenaar Message-ID: <3787AB70.233CAE04@scc.nl> Organization: SCC vof Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: Subject: Re: linux-base port....help please Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Bill Woods wrote: > > I was installing the linux-base port and doing a make install produces: > [snip] > I have linux_libs installed, but I got the same error without them > installed..... > any ideas? You're not running -current, right? Apply the following patch: =================================================================== RCS file: /home/ncvs/src/sys/kern/imgact_elf.c,v retrieving revision 1.58 retrieving revision 1.59 diff -u -r1.58 -r1.59 --- src/sys/kern/imgact_elf.c 1999/05/17 00:53:38 1.58 +++ src/sys/kern/imgact_elf.c 1999/07/05 18:38:29 1.59 @@ -26,7 +26,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: imgact_elf.c,v 1.58 1999/05/17 00:53:38 alc Exp $ + * $Id: imgact_elf.c,v 1.59 1999/07/05 18:38:29 marcel Exp $ */ #include "opt_rlimit.h" @@ -584,12 +584,16 @@ imgp->proc->p_sysent = brand_info->sysvec; if (interp != NULL) { - snprintf(path, sizeof(path), "%s%s", - brand_info->emul_path, interp); - if ((error = elf_load_file(imgp->proc, path, &addr, - &imgp->entry_addr)) != 0) { - uprintf("ELF interpreter %s not found\n", path); - goto fail; + snprintf(path, sizeof(path), "%s%s", + brand_info->emul_path, interp); + if ((error = elf_load_file(imgp->proc, path, &addr, + &imgp->entry_addr)) != 0) { + if ((error = elf_load_file(imgp->proc, interp, &addr, + &imgp->entry_addr)) != 0) { + uprintf("ELF interpreter %s not found\n", + path); + goto fail; + } } } This patch is in -current, but not yet in -stable. -- Marcel Moolenaar mailto:marcel@scc.nl SCC Internetworking & Databases http://www.scc.nl/ Amsterdam, The Netherlands tel: +31 20 4200655 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message