http://www.perlmonks.org?node_id=841428

geoffleach has asked for the wisdom of the Perl Monks concerning the following question:

I'm attempting to diagnose a problem with Audio::TagLib, which is basically a collection of XS interfaces to the taglib library. The test script:
use Audio::TagLib; $id3 = Audio::TagLib::FileRef->new( 't.mp3' );
fails with the message:
Can't locate object method "new" via package "Audio::TagLib::FileRef" at MP3test.pl

I've stepped through XSLoader, and it appears to be working correctly. The xs binary is installed: /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi/ auto/Audio/TagLib/TagLib.so The .bs is there as well. It's empty. This appears to be correct. nm TagLib.so finds T XS_TagLib__FileRef_new.

I'm using 5.10.0. The dist uses ExtUtils::MakeMaker, and that's up to date.

Any suggestions on how to diagnose the problem?

Thanks.