Date: Sat, 10 Jul 1999 22:22:08 +0200 From: Marcel Moolenaar <marcel@scc.nl> To: ports@FreeBSD.ORG Subject: Re: linux-base port....help please Message-ID: <3787AB70.233CAE04@scc.nl> References: <Pine.BSI.4.05L.9907101246150.2179-100000@pdx.cybcon.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3787AB70.233CAE04>