f



GLIBC_2.3.3 not found

I have 2 pgms compiled/linked on linux RH 9.  Both are then moved to a
embedded linux (MontaVista).
One of them runs fine; the other gives me the error "./qdstst1:
/lib/libc.so.6: version `GLIBC_2.3.3' not found (required by ./qdstst1)".

Each uses the same g++ and libs for the make.

I include libraries -lpthread and -lz on both pgms.
ldd output is here for the one that works:
 libpthread.so.0 => /lib/libpthread.so.0 (0x4004d000)
        libz.so.1 => /usr/lib/libz.so.1 (0x4009e000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x400ac000)
        libm.so.6 => /lib/libm.so.6 (0x40167000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4018b000)
        libc.so.6 => /lib/libc.so.6 (0x40193000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

and here for the one that gets the error:
 libpthread.so.0 => /lib/libpthread.so.0 (0x40016000)
        libz.so.1 => /usr/lib/libz.so.1 (0x40067000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x40075000)
        libm.so.6 => /lib/libm.so.6 (0x40130000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40153000)
        libc.so.6 => /lib/libc.so.6 (0x4015b000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Any ideas on why I would get the error message?  Please?


0
Jim
8/15/2005 3:23:08 PM
comp.unix.programmer 10848 articles. 0 followers. kokososo56 (350) is leader. Post Follow

3 Replies
610 Views

Similar Articles

[PageSpeed] 21

Jim wrote:
> I have 2 pgms compiled/linked on linux RH 9.  Both are then moved to a
> embedded linux (MontaVista).
> One of them runs fine; the other gives me the error "./qdstst1:
> /lib/libc.so.6: version `GLIBC_2.3.3' not found (required by ./qdstst1)".
> Any ideas on why I would get the error message?  Please?
Because your binary uses symbols/functions in the libc incompatible with
the libc that is used at runtime.
0
UTF
8/15/2005 4:54:01 PM
No offense, but I think I already knew that.  Just trying to figure out
which ones, without removing all of them one or two at a time.

"Nils Olav Sel�sdal" <noselasd@asgaard.homelinux.org> wrote in message
news:4300c8a9$1@news.wineasy.se...
> Jim wrote:
> > I have 2 pgms compiled/linked on linux RH 9.  Both are then moved to a
> > embedded linux (MontaVista).
> > One of them runs fine; the other gives me the error "./qdstst1:
> > /lib/libc.so.6: version `GLIBC_2.3.3' not found (required by
../qdstst1)".
> > Any ideas on why I would get the error message?  Please?
> Because your binary uses symbols/functions in the libc incompatible with
> the libc that is used at runtime.


0
Jim
8/15/2005 5:02:31 PM
Never mind.  The offending api is semtimedop.  Too bad; kind of a nice
function to have around.

"Jim" <j1mw_no_spam_plz@bellsouth.net> wrote in message
news:sq2Me.18582$rp.11541@bignews1.bellsouth.net...
> I have 2 pgms compiled/linked on linux RH 9.  Both are then moved to a
> embedded linux (MontaVista).
> One of them runs fine; the other gives me the error "./qdstst1:
> /lib/libc.so.6: version `GLIBC_2.3.3' not found (required by ./qdstst1)".
>
> Each uses the same g++ and libs for the make.
>
> I include libraries -lpthread and -lz on both pgms.
> ldd output is here for the one that works:
>  libpthread.so.0 => /lib/libpthread.so.0 (0x4004d000)
>         libz.so.1 => /usr/lib/libz.so.1 (0x4009e000)
>         libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x400ac000)
>         libm.so.6 => /lib/libm.so.6 (0x40167000)
>         libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4018b000)
>         libc.so.6 => /lib/libc.so.6 (0x40193000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>
> and here for the one that gets the error:
>  libpthread.so.0 => /lib/libpthread.so.0 (0x40016000)
>         libz.so.1 => /usr/lib/libz.so.1 (0x40067000)
>         libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x40075000)
>         libm.so.6 => /lib/libm.so.6 (0x40130000)
>         libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40153000)
>         libc.so.6 => /lib/libc.so.6 (0x4015b000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>
> Any ideas on why I would get the error message?  Please?
>
>


0
Jim
8/15/2005 5:09:06 PM
Reply: