[BusyBox] BusyBox with Shared Libraries

Jose Miguel Goncalves jose.goncalves at inov.pt
Fri Feb 25 20:17:35 UTC 2005


If any command that uses shared libraries crashes you probably have a 
corrupted libc.
You can try to execute 'ldd' on a command that crashes to see if all the 
dependent shared libraries are found.
You can try also run 'strace' on it to see if it pinpoints the crash location.

Best regards,
Jose Goncalves

Chuck Gales wrote:
> All,
>  I am having a strange problem with BusyBox when I compile it with
> dynamic libraries, and I haven't found anything like it on the mailing
> list archives.  I was hoping that someone could provide some insight.
> 
>  I am running a Freescale 8272 system, using ELDK version 3.1 for
> PowerPC and a Linux 2.4.20 kernel.  When I compile BusyBox version
> 1.0.0 to use shared libraries and create my cramfs root file system,
> everything seems to work fine, and when my system boots, I get the
> expected BusyBox ash prompt.
> 
>  However, when I try to execute any command which is not part of the
> ash shell, I get the message 'Segmentation fault' and nothing else.  I
> can 'cd' to other directories and execute all the other ash functions,
> but nothing which calls the BusyBox executable itself.
> 
>  I get no other indications such as missing libraries or other errors,
> only 'Segmentation fault', so I am really not sure where to start
> troubleshooting the problem.
> 
>  Any suggestions?
> 
> Thanks,
> 
> Chuck Gales



More information about the busybox mailing list