Compilation Error

Ron Stubbs rons@duke.edu
Thu Aug 16 13:29:00 GMT 2012


All I've got is /usr/lib64/libmpfr.so -> /usr/lib64/libmpfr.so.1.2.0. in
/usr/lib64

Is this the correct libmpfr version?

/usr/lib64 is on the first line on ld.so.conf

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ron Stubbs MS CS
Senior Systems Programmer
Research Computing
Pratt School of Engineering
410 Teer Bldg. P.O. Box 90271
Duke University, Durham, N.C. 27708-0271
office: (919)660-5339   cell:(919)641-5689
fax: (919) 613-9156
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 

On 08/15/2012 03:35 PM, Marc Glisse wrote:
> On Wed, 15 Aug 2012, Ron Stubbs wrote:
>
>> arith.c:(.text+0x1169): undefined reference to `mpfr_get_z_2exp'
> [...]
>> Suggestions?
>
> You have 2 versions of mpfr on that computer. Remove one.
>



More information about the Gcc-help mailing list