Re: GCC error and libmpfr.so.4 not found

Поиск
Список
Период
Сортировка
От Asma Riyaz
Тема Re: GCC error and libmpfr.so.4 not found
Дата
Msg-id CANQ805FkPw_9OH=XzecwgmssRkpKK+iGwmgdC2E_mH-3BftgkQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: GCC error and libmpfr.so.4 not found  (Jimmy Yih <jyih@pivotal.io>)
Ответы Re: GCC error and libmpfr.so.4 not found  (Jimmy Yih <jyih@pivotal.io>)
Re: GCC error and libmpfr.so.4 not found  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
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 get the same error log as before.

Asma





On Thu, Jun 11, 2015 at 1:30 PM, Jimmy Yih <jyih@pivotal.io> wrote:
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 <asmariyaz23@gmail.com> wrote:
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 shared location as before. Any advice will be helpful.

Thank you,
Asma

On Thu, Jun 11, 2015 at 10:34 AM, Geoff Winkless <pgsqladmin@geoff.dj> wrote:
On 11 June 2015 at 15:20, Asma Riyaz <asmariyaz23@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 other errors are simply configure trying to work out which compiler you're running - -V and -qversion simply aren't valid flags to gcc - so those "error" lines are expected result.

Geoff




В списке pgsql-general по дате отправления:

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: [HACKERS] 9.4.1 -> 9.4.2 problem: could not access status of transaction 1
Следующее
От: Filipe Pina
Дата:
Сообщение: database-level lockdown