in reply to Can't link xxxxx with libc-2.7.so
If this is not a question but a hint, maybe you want to add the OS that this is relevant for.
Also, mixing libc versions between Perl and the Perl extension is a recipe to get random segfaults.