Ooops,
Sorry for the very late answer, this is on RedHat 5.
We have rpm -q glibc that gives
glibc-2.5-12
glibc-2.5-12
But there seems to be a more recent glibc on the same machine, maybe the problem comes from this that LD_LIBRARY_PATH was not configured correctly when we tried to compile C::B.