With SDL you are better off getting the source tarball for libSDL and compile it yourself, then build the Perl interface yourself, so everything matches up. It's like GD, you have to have compatible versions of the libraries, and the Perl xs module, for it to work right. You have no idea how Gentoo built their version, or what patches they made have applied.