Hi,

I am running into an issue when compiling Audio::TagLib and I am at a loss (I have tried using cpan to install and manually downloading, both are failing). I am getting an error to recompile with a different flag, but I am not sure how to do this or why this is even an issue. I do not fully understand the problem nor how to fix.

chmod 644 TagLib.bs rm -f blib/arch/auto/Audio/TagLib/TagLib.so g++ -shared -L/usr/local/lib -fstack-protector -Wl,-E -fPIC TagLib.o + -o blib/arch/auto/Audio/TagLib/TagLib.so \ -L/usr/local/lib -ltag -lz \ /usr/bin/ld: /usr/local/lib/libtag.a(mpegfile.cpp.o): relocation R_X86 +_64_32S against `_ZTVN6TagLib4MPEG4FileE' can not be used when making + a shared object; recompile with -fPIC /usr/local/lib/libtag.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status make: *** [blib/arch/auto/Audio/TagLib/TagLib.so] Error 1

Any help would GREATLY be appreciated!

Thanks

UPDATE: Downgrading Taglib to 1.11 fixed the issue (see my reply below)


In reply to Compiling Audio::TagLib by Rodster001

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.