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)
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|