[BusyBox] why i can't add program to my bootdisk

J.W.Janssen JanWillem.Janssen at lxtreme.nl
Mon Mar 11 09:37:04 UTC 2002


Hello,

On Mon, 11 Mar 2002 11:17:43 -0500 it came to me that "Thomas Cameron"
<tom at ceisystems.com> wrote:

> Hello,
> 	You've probably not installed iptables correctly.  If all you
> want is the executable binary to be copied over to your disk, you need
> to make a "static" iptables.
--snip-- 
> hi.. 
> i have problem with my bootdis, i use busybox and
> kernel 2.4.18. and nothing goes wrong until i need
> iptables some additional prog. it cant run on that
> system. some error msg that i can seen on screen is 
> bash :file or directory not found .
--snip--

I had the same problem when I tried to do (more or less) the same with uClibc.
The problem was that IPTables is linked to libraries which (presumably)
aren't located in /lib/... ! You can verify this by checking the header of the
ELF executables...
The static linking would fix it, but causes precious bytes to be ``wasted''!

I solved the problem simply by setting the SHARED_LIB_LOAD_PATH variable of 
uClibc ``Config'' file to "/lib". Now, each and every program is linked to
this path and _should_ fix the problem.

Regards,

-- JaWi

  "A chicken is an egg's way of producing more eggs."

  J.W. Janssen, Blekerstraat 12, Enschede
  mail:  janwillem.janssen at lxtreme.nl
  http:  www.lxtreme.nl




More information about the busybox mailing list