[Top] [All Lists]

Re: Cannot run N32 binaries.

To: Kaz Kylheku <>
Subject: Re: Cannot run N32 binaries.
From: "Maciej W. Rozycki" <>
Date: Wed, 1 Nov 2006 13:24:13 +0000 (GMT)
In-reply-to: <66910A579C9312469A7DF9ADB54A8B7D44D290@exchange.ZeugmaSystems.local>
Original-recipient: rfc822;
References: <66910A579C9312469A7DF9ADB54A8B7D44D290@exchange.ZeugmaSystems.local>
On Tue, 31 Oct 2006, Kaz Kylheku wrote:

> I've built an N32 root filesystem: all binaries and libs are "ELF 32-bit
> N32 MSB MIPS-III ..."
> The kernel (, 64 bit) that I built does have:
> The filesystem doesn't boot: init cannot be found.
> Basically, for any executable that I try to run, the error is: "No such
> file or directory".

 For a start you could try running a statically linked shell as your 
"init", like specifying "init=/bin/bash.static" at your kernel command 
line.  If that works, check that your shared libraries are where the 
shared loader expects them to be -- for n32 that could be "/lib32", 
"/usr/lib32", etc., but it depends on how it has been built.  Note you can 
invoke the loader manually to examine its behaviour (run it without 
arguments to get some help) and then there are a couple of LD_* 
environment variables that it recognizes that may aid you with figuring 
out what is wrong (you may have to look at the sources for how to use them 


<Prev in Thread] Current Thread [Next in Thread>