help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] gsl make error /usr/lib/libmpfr.so.1: undefined symbol


From: Marco Maggi
Subject: Re: [Help-gsl] gsl make error /usr/lib/libmpfr.so.1: undefined symbol
Date: Fri, 26 Nov 2010 12:23:35 +0100

"Padma TAN" wrote:
> I am trying to install the  latest gsl for a user. And got
> a error message below while doing a "make".
> [...]
> /usr/local/libexec/gcc/x86_64-unknown-linux-gnu/4.4.2/cc1:
> symbol  lookup error:  /usr/lib/libmpfr.so.1:  un> defined
> symbol: __gmp_get_memory_functions

This does  not seem  to be a  GSL problem; "gcc"  is loading
libmpfr  (probably)  to   perform  some  precomputation  but
linking fails  because of a  missing function.  What  do you
see if you do:

   $ strings /usr/lib/libmpfr.so.1 | grep gmp_get_memory

if  you  see nothing,  maybe  you  have  a version  mismatch
between GMP[1]  and MPFR[2]; from  the INSTALL file  of MPFR
version 3.0.0:

   If the  configure script  reports that gmp.h  version and
   libgmp version are different, or if the build was OK, but
   the tests failed to link with GMP or gave an error like

      undefined reference to `__gmp_get_memory_functions'

   meaning that the GMP library was not found or a wrong GMP
   library  was selected  by the  linker, then  your library
   search paths  are probably not correctly  set (some paths
   are missing or they are specified in an incorrect order).

that INSTALL file has a lengthy explanation of how to try to
solve such problem.

  As  a last  resort, if  you cannot  solve this  problem by
upgrading packages,  try asking on  the GMP or  MPFR mailing
lists.

[1] <http://gmplib.org/>
[2] <http://www.mpfr.org/>
-- 
Marco Maggi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]