Installing Postgres manually GCC error and libmpfr.so.4 not found - Mailing list pgsql-general

From asmariyaz23
Subject Installing Postgres manually GCC error and libmpfr.so.4 not found
Date
Msg-id 1434031237472-5853368.post@n5.nabble.com
Whole thread Raw
List pgsql-general
Hi,

Due to a root access permissions I have to resort to manually installing
postgres from source code available under the ftp site. When I execute
./configure --prefix="dir/path"- my config log shows the following error:

gcc version 4.9.0 (GCC)
configure:3817: $? = 0
configure:3806: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3817: $? = 1
configure:3806: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3817: $? = 1
configure:3837: checking whether the C compiler works
configure:3859: gcc    conftest.c  >&5
/../software/free/Linux/redhat_6_x86_64/pkgs/gcc_4.9.0/libexec/gcc/x86_64-redhat-linux/4.9.0/cc1:
error while loading shared libraries: libmpfr.so.4: cannot     open shared
object file: No such file or directory

I have seen an earlier post with gcc errors, however I couldn't figure out
what the actual problem here is: is it that libmpfr.so.4 is not found? or
gcc needs to be installed fresh?



--
View this message in context:
http://postgresql.nabble.com/Installing-Postgres-manually-GCC-error-and-libmpfr-so-4-not-found-tp5853368.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Prevent roles not having admin option from granting themselves to other roles
Next
From: Robert DiFalco
Date:
Subject: SET LOCAL synchronous_commit TO OFF