in reply to Re: Could't find gmp library after installing Perl Module
in thread Could't find gmp library after installing Perl Module

Is it possible to install libgmp3c2 libgmp3-dev this package for RHEL 5.0
  • Comment on Re^2: Could't find gmp library after installing Perl Module

Replies are listed 'Best First'.
Re^3: Could't find gmp library after installing Perl Module
by almut (Canon) on Dec 23, 2008 at 18:09 UTC

    Presumably, the packages are named differently (my guess would be something like gmp and gmp-devel)... You could try

    yum search gmp

    or

    yum list '*gmp*'

    to get a listing of potential candidates, and then "yum info <package-name>" to get package details.

    (presuming you have yum, that is, which I think comes with RHEL 5 — but I'm no Red Hat expert...)

    Note that you'll need the development (-devel) package, for the header files, in addition to the regular package containing the compiled library itself.

Re^3: Could't find gmp library after installing Perl Module
by syphilis (Archbishop) on Dec 23, 2008 at 22:12 UTC
    Is it possible to install libgmp3c2 libgmp3-dev this package for RHEL 5.0

    The gmp library usually builds easily on linux, so you could just grab the source from http://gmplib.org and build it yourself if you like.

    Just unpack the source and run './configure && make && make check'. If all goes well then run 'sudo make install'.

    Cheers,
    Rob