ld-uClibc.so linking problem
Carmelo AMOROSO
carmelo.amoroso at st.com
Tue Oct 9 23:13:50 PDT 2007
Rajib Saha wrote:
>
> Hi,
>
> I am using uclibc for the mips platform. I ran ldd on my libraries and
> found the following result. As you can see the ld-uClibc.so.0 being
> linked with /usr/lib/libipmi.so.1, but for
> /usr/lib/libproviderUtility.so.1, ldd says not a dynamic executable.
> As the Makefiles are concered, i have not used anything different
> between the two libraries. Please suggest if i am missing something.
>
>
> */ # ldd /usr/lib/libproviderUtility.so.1*
> *checking sub-depends for '/usr/lib/libipmi.so.1'*
> *checking sub-depends for '/usr/lib/libdmiinfo.so.1'*
> *checking sub-depends for '/lib/libc.so.0'*
> *checking sub-depends for '/usr/lib/libami.so.1'*
> * libipmi.so.1 => /usr/lib/libipmi.so.1 (0x00000000)*
> * libdmiinfo.so.1 => /usr/lib/libdmiinfo.so.1 (0x00000000)*
> * libc.so.0 => /lib/libc.so.0 (0x00000000)*
> * libami.so.1 => /usr/lib/libami.so.1 (0x00000000)*
> * not a dynamic executable*
>
> */ # ldd /usr/lib/libipmi.so.1*
> *checking sub-depends for '/usr/lib/libami.so.1'*
> *checking sub-depends for '/lib/libc.so.0'*
> * libami.so.1 => /usr/lib/libami.so.1 (0x00000000)*
> * libc.so.0 => /lib/libc.so.0 (0x00000000)*
> * /lib/ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x00000000)*
>
> Thanks,
> Rajib.
>
I suspect you are using ldd from glibc, otherwise you should see, for
each dependencies, its load address printed,
instead you have alway 0x00000000.
Your ldd is not able to find some dso and fails with this "confused"
message.
I suggest you to build ldso utils (ldd, ldconfig) from uclibc sources
and use it.
Regards,
Carmelo
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://busybox.net/cgi-bin/mailman/listinfo/uclibc
More information about the uClibc
mailing list