From: | Asma Riyaz <asmariyaz23(at)gmail(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | GCC error and libmpfr.so.4 not found |
Date: | 2015-06-11 14:20:43 |
Message-ID: | CANQ805Fad5k-rqaEKqh+z1-VB1CJ2wMijf0dRNkfLgcWmbnsvA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi,
Due to 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?
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2015-06-11 14:27:08 | Re: select count(*); |
Previous Message | Marc Mamin | 2015-06-11 14:17:17 | Re: select count(*); |