[uClibc] Shared library dependency
Mike Frysinger
vapier at gentoo.org
Sat Jan 8 00:35:42 UTC 2005
On Saturday 08 January 2005 02:30 am, daniel widyanto wrote:
> If we use at shared library (using ldd.host or uclibc-readelf), we find
> that the library have dependency against other library (usually against
> libc).
it's normal for libstdc++ to link against libc, it's OK
> Is it mean that if the dependency is not satisfied (eg. some of the shared
> lib files missing, or have incompatible version), the linking will failed
> ?
i dont see how these two questions are related, but to answer your question,
if you try to load a library which has NEEDED entries for other shared
libraries, and those other libraries cannot be located, then yes, the linking
will fail
> So to prevent this, the shared library, that's compiled against uclibc,
> must be placed in toolchain's uclibc (eg. $(TOOLCHAIN)/i386-linux/lib ),
> so the linkin against this shared library will be ok ?
i dont understand this question ...
-mike
More information about the uClibc
mailing list