Thanks for the reply Marco. This is what I got with the command. [r...@plap08 gsl-1.14]# strings /usr/lib/libmpfr.so.1 | grep gmp_get_memory __gmp_get_memory_functions
Regards, Padma -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Marco Maggi Sent: Friday, November 26, 2010 7:24 PM To: Padma TAN Cc: [email protected] Subject: Re: [Help-gsl] gsl make error /usr/lib/libmpfr.so.1: undefined symbol "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 _______________________________________________ Help-gsl mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gsl
