Difficulties - stat

How to link to the library?

sub __xstat is native('c');

This looks in libc.so

But the libc in my operating system is named libc.so.6