On Sep 5, 2007, at 5:45 AM, Louis-Philippe wrote:
Hi,
I was on my way to install Net::SSH::Perl when an error with
Math::GMP stopped me...
I then installed libgmp successfully, tried again... no luck.
then changed a couple of lines in Math::GMP Makefile.PL as written
in this previous mailing :
http://www.nntp.perl.org/group/perl.macosx/2006/08/msg9995.html
no luck again...
when I compile I get this with the error:
env MACOSX_DEPLOYMENT_TARGET=10.3 cc -L/opt/local/lib -bundle -
undefined dynamic_lookup -L/usr/local/lib GMP.o -o blib/arch/auto/
Math/GMP/GMP.bundle \
-lgmp \
/usr/bin/ld: /usr/local/lib/libgmp.a(mode1o.o) has local relocation
entries in non-writable section (__TEXT,__text)
I think your error is here ^^ (the call to ld)
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/Math/GMP/GMP.bundle] Error 1
any IDEA?
You may want to check the ld documentation to see if you can find
that error message.
Google produces some interesting output if you search on the ld error
string. I think this link might offer some help: http://prlmnks.org/
html/543267.html
It unfortunately looks non-trivial.
l-p
Jeremiah Foster
[EMAIL PROTECTED]
---
Key fingerprint = 9616 2AD3 3AE0 502C BD75 65ED BDC3 0D44 2F5A E672