Re: [GENERAL] GCC error and libmpfr.so.4 not found

2015-06-11 Thread Asma Riyaz
I have a libmpfr.so.4 under a different location, which setting in configure should I use so that it uses the required library from that directory? I have used ./configure --prefix=/path/directory LIB=/path/to/libmpfr.so.4 but the config.log still shows that its looking for libmpfr.so.4 under the

Re: [GENERAL] GCC error and libmpfr.so.4 not found

2015-06-11 Thread Geoff Winkless
On 11 June 2015 at 15:20, Asma Riyaz asmariya...@gmail.com wrote: 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? libmpfr. Unless I've misunderstood, the

[GENERAL] GCC error and libmpfr.so.4 not found

2015-06-11 Thread Asma Riyaz
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:

Re: [GENERAL] GCC error and libmpfr.so.4 not found

2015-06-11 Thread Jimmy Yih
Hey Asma, Have you tried running ldd and checking the library linkage? You might be able to just add the different location to your LD_LIBRARY_PATH as a quick way to get this working. - Jimmy On Thu, Jun 11, 2015 at 7:46 AM, Asma Riyaz asmariya...@gmail.com wrote: I have a libmpfr.so.4 under

Re: [GENERAL] GCC error and libmpfr.so.4 not found

2015-06-11 Thread Asma Riyaz
Hi Jimmy, Here is what I did upon your suggestion; in bashrc:- LD_LIBRARY_PATH=/seq/annotation/bio_tools/BOOST/boost_1_46_1/lib LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/seq/regev_genome_portal/lib sourced it and then exceuted /.configure as below: ./configure --prefix=/../../DATABASE/postgres I

Re: [GENERAL] GCC error and libmpfr.so.4 not found

2015-06-11 Thread Jimmy Yih
Hey Asma, Did you check the linkage with ldd? For example on my blank RHEL 6.5 AWS VM using gcc 4.4.7: [jyih@test1 ~]$ ldd /usr/libexec/gcc/x86_64-redhat-linux/4.4.4/cc1 linux-vdso.so.1 = (0x7fff9b9ff000) libmpfr.so.1 = /usr/lib64/libmpfr.so.1 (0x0033b840) libgmp.so.3 =

Re: [GENERAL] GCC error and libmpfr.so.4 not found

2015-06-11 Thread Tom Lane
Asma Riyaz asmariya...@gmail.com writes: in bashrc:- LD_LIBRARY_PATH=/seq/annotation/bio_tools/BOOST/boost_1_46_1/lib LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/seq/regev_genome_portal/lib If you didn't have an export LD_LIBRARY_PATH in there, I don't think this would do anything. But your real

Re: [GENERAL] GCC error and libmpfr.so.4 not found

2015-06-11 Thread Asma Riyaz
Hi Jimmy, I checked linkage with ldd: ldd /path/to/cc1 Here is the result: linux-vdso.so.1 = (0x7fffed53f000) libmpfr.so.4 = /../software/free/Linux/redhat_6_x86_64/pkgs/gcc_4.9.0/lib/libmpfr.so.4 (0x7f264f304000) libgmp.so.10 =

Re: [GENERAL] GCC error and libmpfr.so.4 not found

2015-06-11 Thread John R Pierce
On 6/11/2015 7:20 AM, Asma Riyaz wrote: 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? on RHEL7/CentOS 7, that library is provided by the package mpfr... ask

Re: [GENERAL] GCC error and libmpfr.so.4 not found

2015-06-11 Thread Asma Riyaz
Hi everyone... I think libmpfr.so.4 is being searched for in the /../software/free/Linux/ redhat_6_x86_64/pkgs/gcc_4.9.0/libexec (according to error message) directory but on our system it is located in /../software/free/Linux/ redhat_6_x86_64/pkgs/gcc_4.9.0/lib Any idea how I can specify as to

Re: [GENERAL] GCC error and libmpfr.so.4 not found

2015-06-11 Thread Asif Naeem
On Fri, Jun 12, 2015 at 12:29 AM, Tom Lane t...@sss.pgh.pa.us wrote: Asma Riyaz asmariya...@gmail.com writes: in bashrc:- LD_LIBRARY_PATH=/seq/annotation/bio_tools/BOOST/boost_1_46_1/lib LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/seq/regev_genome_portal/lib If you didn't have an export