Click here to get back home

GMP::Math ...PLEASE HELP!!

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
GMP::Math ...PLEASE HELP!! btna 02-07-2005
Posted by btna on February 7, 2005, 11:02 am
Please log in for more thread options
Hi all,

I am trying to install GMP:;Math since it is a pre-requisite for
Net::SSH. I already downloaded gmp-4.1.4 and installed it. The
library(libgmp.a) is under /usr/local/lib. When I tried installing
GMP::Math, I get:

$>perl Makefile.PL
Note (probably harmless): No library found for -lgmp
Writing Makefile for Math::GMP
$>make
Skip blib/lib/Math/GMP.pm (unchanged)
cp lib/Math/libgmp.a blib/lib/Math/libgmp.a
cc -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-qmaxmem=16384 -q3
2 -D_LARGE_FILES -qlonglong -O -DVERSION="2.04"
-DXS_VERSION="2.04" -
I/usr/opt/perl5/lib/5.6.0/aix/CORE GMP.c
Running Mkbootstrap for Math::GMP ()
chmod 644 GMP.bs
LD_RUN_PATH="" ld -o blib/arch/auto/Math/GMP/GMP.so -bhalt:4
-bM:SRE -b
I:/usr/opt/perl5/lib/5.6.0/aix/CORE/perl.exp -bE:GMP.exp -b noentry -lC
-lc GMP
..o
ld: 0711-317 ERROR: Undefined symbol: .__gmpz_init
ld: 0711-317 ERROR: Undefined symbol: .__gmpz_sqrt
ld: 0711-317 ERROR: Undefined symbol: .__gmpz_tstbit
ld: 0711-317 ERROR: Undefined symbol: .__gmpz_init_set
ld: 0711-317 ERROR: Undefined symbol: .__gmpz_fac_ui
ld: 0711-317 ERROR: Undefined symbol: .__gmpz_ior
ld: 0711-317 ERROR: Undefined symbol: .__gmpz_xor
ld: 0711-317 ERROR: Undefined symbol: .__gmpz_and
ld: 0711-317 ERROR: Undefined symbol: .__gmpz_fib_ui
ld: 0711-317 ERROR: Undefined symbol: .__gmpz_gcd
ld: 0711-317 ERROR: Undefined symbol: .__gmpz_pow_ui
ld: 0711-317 ERROR: Undefined symbol: .__gmpz_jacobi
ld: 0711-317 ERROR: Undefined symbol: .__gmpz_cmp
ld: 0711-317 ERROR: Undefined symbol: .__gmpz_mod
ld: 0711-317 ERROR: Undefined symbol: .__gmpz_tdiv_qr
ld: 0711-317 ERROR: Undefined symbol: .__gmpz_fdiv_q
ld: 0711-317 ERROR: Undefined symbol: .__gmpz_mul
ld: 0711-317 ERROR: Undefined symbol: .__gmpz_sub
ld: 0711-317 ERROR: Undefined symbol: .__gmpz_add
ld: 0711-317 ERROR: Undefined symbol: .__gmpz_fdiv_r_2exp
ld: 0711-317 ERROR: Undefined symbol: .__gmpz_fdiv_r
ld: 0711-317 ERROR: Undefined symbol: .__gmpz_powm
ld: 0711-317 ERROR: Undefined symbol: .__gmpz_fdiv_q_2exp
ld: 0711-317 ERROR: Undefined symbol: .__gmpz_mul_2exp
ld: 0711-317 ERROR: Undefined symbol: .__gmpz_get_si
ld: 0711-317 ERROR: Undefined symbol: .__gmpz_add_ui
ld: 0711-317 ERROR: Undefined symbol: .__gmpz_get_ui
ld: 0711-317 ERROR: Undefined symbol: .__gmpz_sizeinbase
ld: 0711-317 ERROR: Undefined symbol: .__gmpz_get_str
ld: 0711-317 ERROR: Undefined symbol: .__gmpz_clear
ld: 0711-317 ERROR: Undefined symbol: .__gmpz_init_set_str
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
make: 1254-004 The error code from the last command is 8.


Stop.

ANY IDEAS WHAT I AM DOING WRONG? WHAT DO I NEED TO DO TO FIX IT AND GET
IT INSTALLED?

Thanks in advance,

BTNA



Posted by John Bokma on February 7, 2005, 8:51 pm
Please log in for more thread options
btna wrote:

> ANY IDEAS WHAT I AM DOING WRONG? WHAT DO I NEED TO DO TO FIX IT AND GET
> IT INSTALLED?

Writing in all caps is considered yelling. Also, pick your subject with
more care next time (try to describe in short your problem, most postings
on Usenet are HEEEEELP HELP requests)

--
John Small Perl scripts: http://johnbokma.com/perl/
Perl programmer available: http://castleamber.com/
Happy Customers: http://castleamber.com/testimonials.html



Posted by btna on February 7, 2005, 1:19 pm
Please log in for more thread options
It was not my intention to write in Caps. I probably had the "Caps On"
and did not realized it. As you can see, I had started writing in lower
case.

Thanks,

BTNA



Posted by John Bokma on February 7, 2005, 10:24 pm
Please log in for more thread options
btna wrote:

> It was not my intention to write in Caps. I probably had the "Caps On"
> and did not realized it. As you can see, I had started writing in lower
> case.
>
> Thanks,

Thanks ;-)

--
John Small Perl scripts: http://johnbokma.com/perl/
Perl programmer available: http://castleamber.com/
Happy Customers: http://castleamber.com/testimonials.html



Posted by bd on February 8, 2005, 9:41 am
Please log in for more thread options
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

btna wrote:
| Hi all,
|
| I am trying to install GMP:;Math since it is a pre-requisite for
| Net::SSH. I already downloaded gmp-4.1.4 and installed it. The
| library(libgmp.a) is under /usr/local/lib. When I tried installing
| GMP::Math, I get:
|
| $>perl Makefile.PL
| Note (probably harmless): No library found for -lgmp

If you're using Linux, make sure /usr/local/lib is in your
/etc/ld.so.conf , then run ldconfig. If you're using something else,
there probably will be an equivalent for your system; check your
documentation for how to set your library search path.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCCMGU+hz2VlChukwRAnn6AJwKdYls7+RwZirTd6B8NP2lBeaUrgCfSS0Q
6JX7wrpRSG1qb/143BD1PAQ=
=NXjp
-----END PGP SIGNATURE-----


Similar ThreadsPosted
Math::TrulyRandom May 22, 2006, 9:56 pm
Help with Math::GMP compile on AIX 5.3 September 11, 2007, 4:47 pm
Math-Random-MT-Auto-4.08.00.tar.gz September 18, 2005, 12:16 am
Math::Macopt version 0.01 available January 9, 2006, 9:21 pm
A problem with Math::Prime::XS February 14, 2006, 12:35 pm
Math::Pari headaches August 15, 2006, 1:50 pm
Math::Pari in turmoil September 21, 2008, 11:42 pm
Memory Leak in Math::Pari December 16, 2004, 6:21 am
proposal for new module -- Math::TriangularNumbers February 21, 2005, 10:19 pm
Math::Amoeba updated to version 0.04 January 9, 2006, 9:26 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap