I am trying to install Math-GMP-2.03 which is required if I want to install Net::SSH::Perl which is required for Net::SFTP. I have installed gmp from http://www.swox.com/gmp/ with no problem, but when I go to install Math-GMP-2.03 I get this ...
LD_RUN_PATH="/usr/local/lib" gcc -G -L/usr/local/lib GMP.o -o blib/a
ld: fatal: file /usr/local/lib/libgmp.so: wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to blib/arch/auto
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/Math/GMP/GMP.so] Error 1
Have any of you ran into the problem? If so how did you correct it?
|Plankton: 1% Evil, 99% Hot Gas.|
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>
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
Want more info? How to link
or How to display code and escape characters
are good places to start.