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

Thomas Cameron tom at ceisystems.com
Mon Mar 11 09:42:03 UTC 2002


Hello,
	The fix I was speaking of goes beyond uClibc not being linked
properly.  I assumed that uClibc was linked, and working.  The libraries
I am speaking of are IPTables libraries.  These libraries actually
contain the functionality of IPTables.  Good luck!

-Tom

-----Original Message-----
From: J.W.Janssen [mailto:JanWillem.Janssen at lxtreme.nl] 
Sent: Monday, March 11, 2002 11:41 AM
To: busybox at busybox.net
Subject: Re: [BusyBox] why i can't add program to my bootdisk



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

_______________________________________________
busybox mailing list
busybox at busybox.net
http://busybox.net/mailman/listinfo/busybox



More information about the busybox mailing list