_dl_app_init_array and _dl_app_fini_array problems

Kevin Day thekevinday at gmail.com
Thu Oct 5 00:09:41 UTC 2006


On 10/4/06, Carmelo Amoroso <carmelo73 at gmail.com> wrote:
> Kevin Day wrote:
> > On 10/2/06, Erik Andersen <andersen at codepoet.org> wrote:
> >> On Mon Oct 02, 2006 at 04:11:09PM -0500, Kevin Day wrote:
> > ---snipped ---
> > and just for good measure, readelf -l /tools/lib/libc.so is:
> >
> May you execute the same readelf commands our your sample application,
> just to check if the lib loader path is correct and DSO dependencies.
> It could provide you with useful tips.
>
> Rgds,
> Carmelo
>

I have checked everything except the ld-uClibc.so file.
# ldd /tools/lib/ld-uClibc.so.0
        not a dynamic executable

# ldd /lib/ld-uClibc.so.0
        libc.so.0 => /lib/libc.so.0 (0xb7ec1000)
        ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0xb7f5f000)
        libc.so.0 => libc.so.0 (0x00000000)
        /lib/ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x00000000)

For some reason, the ld-uClibc.so.0 (aka ld-uClibc-0.9.29.so) is not
being created as a shared  object, so attempts to link against it do
not seem to work properly.

-- 
Kevin Day



More information about the uClibc mailing list