| Author |
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?
| |
| Nils Olav Selåsdal 2005-08-15, 5:54 pm |
| 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.
| |
|
| 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:
../qdstst1)".[vbcol=seagreen]
> Because your binary uses symbols/functions in the libc incompatible with
> the libc that is used at runtime.
| |
|
| 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?
>
>
|
|
|
|