in reply to problem finding symbol in XS-created .so

In the .c file generated from the .xs files,

(void)newXSproto_portable("TagLib::FileRef::new", XS_TagLib__FileRef_n +ew, file, ";$$$");

should be

(void)newXSproto_portable("Audio::TagLib::FileRef::new", XS_TagLib__Fi +leRef_new, file, ";$$$");

This is because every MODULE= and PACKAGE= directive is wrong.

Replace every instance of
MODULE = TagLib
with
MODULE = Audio::TagLib

Replace every instance of
PACKAGE = TagLib::...
with
PACKAGE = Audio::TagLib::...

Replies are listed 'Best First'.
Re^2: problem finding symbol in XS-created .so
by geoffleach (Scribe) on May 25, 2010 at 23:06 UTC
    The changes suggested have resolved the problem.

    Many thanks