This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: glibc 2.3.6 issue with ld.so and shared libs
- From: "Carlos O'Donell" <carlos at systemhalted dot org>
- To: john h <johnh dot nm at gmail dot com>
- Cc: libc-help at sourceware dot org
- Date: Sun, 17 May 2009 18:06:10 -0400
- Subject: Re: glibc 2.3.6 issue with ld.so and shared libs
- References: <a8299a810905131237w1e3edcaao166e12a246e30e49@mail.gmail.com>
On Wed, May 13, 2009 at 3:37 PM, john h <johnh.nm@gmail.com> wrote:
> I'm getting the following error when testing an app that uses libc and
> libm shared libs. ?It finds the so file, but isn't happy with it. ?We
> have recently moved from 2.3.3 to 2.3.6 and moved to using crosstool
> to build our tools as our previous build process was not good.
>
> / # ./hello
> ./hello: /lib/libm.so.6: version `GLIBC_2.1.3' not found (required by
> /lib/libmso.6)
>
> I can use the ld.so from the same version of glibc and the
> non-crosstool build and it works fine such that we believe ld.so is
> the issue.
>
> We don't really understand the versioning and symbols in glibc well,
> is there anything that explains it?
>
> Any pointers would be appreciated.
Did you install all glibc into your target rootfs? You must install
all of the glibc libraries as a group into the target rootfs e.g.
libc.so.6, libpthread.so, libthread_db.so (if you are going to be
doing debugging), libm.so, etc.
Cheers,
Carlos.