Dropbear or SSH on Busybox

Clint Thomas cthomas at Soneticom.com
Sat Jul 1 00:56:48 WST 2006


I compile the dropbearmulti binary on my main machine, using
powerpc-linux cross compilers. After it has been compiled, I Load it
onto my target via ftp, and try to execute it. At first, it returns an
error of "permission denied", so I chmod 777 the binary so I can execute
it. 

When I try to execute after this, I get the error 

/lib/libc.so.6: version `GLIBC_2.3' not found <required by
./dropbearmulti>

When I check the version of /lib/libc.so.6, it returns that it is
version 2.2.1, with several available extensions.

How would I go about statically linking it?

Clint

-----Original Message-----
From: Rob Landley [mailto:rob at landley.net] 
Sent: Thursday, June 29, 2006 8:30 PM
To: dropbear at ucc.asn.au
Cc: Clint Thomas
Subject: Re: Dropbear or SSH on Busybox

On Thursday 29 June 2006 5:07 pm, Clint Thomas wrote:
> Hey,
>
> I am running a dev board based around the 8555E powerpc processor, 
> running an embedded version of linux with glibc version 2.2.3, kernel 
> 2.4.27, and busybox version .52. I am trying to figure out if there is

> any way to setup SSH on this machine without updating the glibc 
> libraries, the kernel or busybox. The telnet server is having a hard 
> time connnecting, and I would much rather be using SSH to remote 
> connect into this machine. Is there any way for dropbear to run 
> without glibc version 2.3 or higher? Perhaps an older version ?

A) You don't have to update busybox.  It's unrelated.

B) What error do you get when you try to build it against the old glibc?

C) You could always statically link it against a current uClibc.

Rob
--
Never bet against the cheap plastic solution.



More information about the Dropbear mailing list