This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Problem with GMP/MPFR libraries during gcc compilation
- From: FX Coudert <fxcoudert at gmail dot com>
- To: Skibool <skiba dot g at gmail dot com>
- Cc: fortran at gcc dot gnu dot org
- Date: Fri, 7 Mar 2008 22:51:37 +0000
- Subject: Re: Problem with GMP/MPFR libraries during gcc compilation
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; bh=xYeWN3GiDwLhQ8Nx2vTHwpP4Y3YV5KvoSWygn1xZYYg=; b=HDYITTtgV2VGR8H2DosnGK2dpgseum5mBvzIb/YlTo+ObGUvboq864ijmc5itdqR92RYXJzMTjiaHl9r7f2RiBya0SPagw+hVERHZ/WNGF1fDg08EuYpHIBhSNvqqch5H+k6b/FwTLZ4I6I7/9MP8lHpdBSW1oqg0QgYwsTKc3w=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=pn5iCTmf3BvihxgsSrJFbdd6mWVRvow3QQTSPTjlPcxUjMF+jHtUn9PdoqQJ/ZFXK8gJM5M+4m8vWdeBDAc/gPxwAK+ScBsj7EtyiptWlhVqe3EcM7+6x/KHU4UYqrUcoPZi+/VBCADjKijwgjx2wYATagB/vYxeS1uUzzt90VU=
- References: <15908087.post@talk.nabble.com>
configure: error: GNU Fortran is not working; the most common
reason for
that is that you might have linked it to shared GMP and/or MPFR
libraries,
and not set LD_LIBRARY_PATH accordingly.
How can I solve this problem?
You can either link with static GMP or MPFR libraries (one good idea
is to delete your shared libgmp/libmpfr completely from your /usr/
local/arm920t/lib, and rebuild) or set your LD_LIBRARY_PATH
environement variable appropriately (namely, to contain /usr/local/
arm920t/lib).
Or, you can read the error message, try to understand it, and give
information about why you can't or don't want to follow it. That
helps us feel useful.
FX
--
François-Xavier Coudert
http://www.homepages.ucl.ac.uk/~uccafco/