Обсуждение: installation problem, for Postgres 8.2.0

Поиск
Список
Период
Сортировка

installation problem, for Postgres 8.2.0

От
"surabhi.ahuja"
Дата:
 I am trying to install Postgre 8.2.0 on my mc FC4
 
first i installed the libs
 
next when i tried installing: postgresql-8.2.0-2PGDG.i686.rpm
it gave me this error:
 
error: Failed dependencies:
        libreadline.so.5 is needed by postgresql-8.2.0-2PGDG
please tell me what to do
thanks,
regards
Surabhi
This message has been scanned by the Trend Micro IGSA and found to be free of known security risks.

Re: installation problem, for Postgres 8.2.0

От
"Shoaib Mir"
Дата:
Can you show me the output for:

ldconfig -p | grep libreadline

-----------
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)

On 12/11/06, surabhi.ahuja <surabhi.ahuja@iiitb.ac.in> wrote:
 I am trying to install Postgre 8.2.0 on my mc FC4
 
first i installed the libs
 
next when i tried installing: postgresql-8.2.0-2PGDG.i686.rpm
it gave me this error:
 
error: Failed dependencies:
        libreadline.so.5 is needed by postgresql-8.2.0-2PGDG
please tell me what to do
thanks,
regards
Surabhi
This message has been scanned by the Trend Micro IGSA and found to be free of known security risks.

Re: installation problem, for Postgres 8.2.0

От
"surabhi.ahuja"
Дата:
the o/p for ldconfig -p | grep libreadline

it is
ibreadline.so.4 (libc6) => /usr/lib/libreadline.so.4
 
thanks,
regards
Surabhi


From: Shoaib Mir [mailto:shoaibmir@gmail.com]
Sent: Mon 12/11/2006 4:26 PM
To: surabhi.ahuja
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] installation problem, for Postgres 8.2.0

Can you show me the output for:

ldconfig -p | grep libreadline

-----------
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)

On 12/11/06, surabhi.ahuja <surabhi.ahuja@iiitb.ac.in> wrote:
 I am trying to install Postgre 8.2.0 on my mc FC4
 
first i installed the libs
 
next when i tried installing: postgresql-8.2.0-2PGDG.i686.rpm
it gave me this error:
 
error: Failed dependencies:
        libreadline.so.5 is needed by postgresql-8.2.0-2PGDG
please tell me what to do
thanks,
regards
Surabhi
This message has been scanned by the Trend Micro IGSA and found to be free of known security risks.

This message has been scanned by the Trend Micro IGSA and found to be free of known security risks.

Re: installation problem, for Postgres 8.2.0

От
"Shoaib Mir"
Дата:
Logged in as 'root' user do the following:

ln -s /usr/lib/libreadline.so.4 /usr/lib/libreadline.so.5

And then continue with the installation....

-------------
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)

On 12/11/06, surabhi.ahuja <surabhi.ahuja@iiitb.ac.in> wrote:
the o/p for ldconfig -p | grep libreadline

it is
ibreadline.so.4 (libc6) => /usr/lib/libreadline.so.4
 
thanks,
regards
Surabhi


From: Shoaib Mir [mailto:shoaibmir@gmail.com]
Sent: Mon 12/11/2006 4:26 PM
To: surabhi.ahuja
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] installation problem, for Postgres 8.2.0

Can you show me the output for:

ldconfig -p | grep libreadline

-----------
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)

On 12/11/06, surabhi.ahuja <surabhi.ahuja@iiitb.ac.in > wrote:
 I am trying to install Postgre 8.2.0 on my mc FC4
 
first i installed the libs
 
next when i tried installing: postgresql-8.2.0-2PGDG.i686.rpm
it gave me this error:
 
error: Failed dependencies:
        libreadline.so.5 is needed by postgresql-8.2.0-2PGDG
please tell me what to do
thanks,
regards
Surabhi
This message has been scanned by the Trend Micro IGSA and found to be free of known security risks.

This message has been scanned by the Trend Micro IGSA and found to be free of known security risks.

Re: installation problem, for Postgres 8.2.0

От
Dave Page
Дата:
Shoaib Mir wrote:
> Logged in as 'root' user do the following:
>
> ln -s /usr/lib/libreadline.so.4 /usr/lib/libreadline.so.5
>
> And then continue with the installation....

I'm no RPM expert, but doesn't a failed RPM dependency require that you
install the correct RPM rather than adding probably-incompatible
symlinks between different major versions of a library?

I'd suggest finding and installing a libreadline5 RPM.

Regards, Dave

Re: installation problem, for Postgres 8.2.0

От
"Shoaib Mir"
Дата:
The case here is that he might be using a RPM which is for FC5 and been used on FC4 which is why it keeps on looking for so.5 as libreadline.so.5 is the updated libreadline.so.4 in FC5.

I have tried making symlinks (workaround) in the past and that worked for me this way when I used a FC5 built RPM on FC4 :)

---------
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)

On 12/11/06, Dave Page < dpage@postgresql.org> wrote:
Shoaib Mir wrote:
> Logged in as 'root' user do the following:
>
> ln -s /usr/lib/libreadline.so.4 /usr/lib/libreadline.so.5
>
> And then continue with the installation....

I'm no RPM expert, but doesn't a failed RPM dependency require that you
install the correct RPM rather than adding probably-incompatible
symlinks between different major versions of a library?

I'd suggest finding and installing a libreadline5 RPM.

Regards, Dave

Re: installation problem, for Postgres 8.2.0

От
"surabhi.ahuja"
Дата:
I did it however i get the same error message
 
should i reboot? 
 
thanks
surabhi


From: Shoaib Mir [mailto:shoaibmir@gmail.com]
Sent: Mon 12/11/2006 4:34 PM
To: surabhi.ahuja
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] installation problem, for Postgres 8.2.0

Logged in as 'root' user do the following:

ln -s /usr/lib/libreadline.so.4 /usr/lib/libreadline.so.5

And then continue with the installation....

-------------
Shoaib Mir
EnterpriseDB (www.enterprisedbcom)

On 12/11/06, surabhi.ahuja <surabhi.ahuja@iiitb.ac.in> wrote:
the o/p for ldconfig -p | grep libreadline

it is
ibreadline.so.4 (libc6) => /usr/lib/libreadline.so.4
 
thanks,
regards
Surabhi


From: Shoaib Mir [mailto:shoaibmir@gmail.com]
Sent: Mon 12/11/2006 4:26 PM
To: surabhi.ahuja
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] installation problem, for Postgres 8.2.0

Can you show me the output for:

ldconfig -p | grep libreadline

-----------
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)

On 12/11/06, surabhi.ahuja <surabhi.ahuja@iiitb.ac.in > wrote:
 I am trying to install Postgre 8.2.0 on my mc FC4
 
first i installed the libs
 
next when i tried installing: postgresql-8.2.0-2PGDG.i686.rpm
it gave me this error:
 
error: Failed dependencies:
        libreadline.so.5 is needed by postgresql-8.2.0-2PGDG
please tell me what to do
thanks,
regards
Surabhi
This message has been scanned by the Trend Micro IGSA and found to be free of known security risks.

This message has been scanned by the Trend Micro IGSA and found to be free of known security risks.

This message has been scanned by the Trend Micro IGSA and found to be free of known security risks.

Re: installation problem, for Postgres 8.2.0

От
"Albe Laurenz"
Дата:
>  I am trying to install Postgre 8.2.0 on my mc FC4
>
> first i installed the libs
>
> next when i tried installing: postgresql-8.2.0-2PGDG.i686.rpm
> it gave me this error:
>
> error: Failed dependencies:
>         libreadline.so.5 is needed by postgresql-8.2.0-2PGDG
>
> please tell me what to do

Install readline!

Yours,
Laurenz Albe

Re: installation problem, for Postgres 8.2.0

От
"Shoaib Mir"
Дата:
Do the following:

ldconfig

Once that is done show me the output for:

ldconfig -p | grep  libreadline

and

locate libreadline.so.5

-----------
Shoaib Mir
EnterpriseDB ( www.enterprisedb.com)

On 12/11/06, surabhi.ahuja <surabhi.ahuja@iiitb.ac.in> wrote:
I did it however i get the same error message
 
should i reboot? 
 
thanks
surabhi


From: Shoaib Mir [mailto:shoaibmir@gmail.com]
Sent: Mon 12/11/2006 4:34 PM
To: surabhi.ahuja
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] installation problem, for Postgres 8.2.0

Logged in as 'root' user do the following:

ln -s /usr/lib/libreadline.so.4
/usr/lib/libreadline.so.5

And then continue with the installation....

-------------
Shoaib Mir
EnterpriseDB (www.enterprisedbcom)

On 12/11/06, surabhi.ahuja <surabhi.ahuja@iiitb.ac.in > wrote:
the o/p for ldconfig -p | grep libreadline

it is
ibreadline.so.4 (libc6) => /usr/lib/libreadline.so.4
 
thanks,
regards
Surabhi


From: Shoaib Mir [mailto:shoaibmir@gmail.com]
Sent: Mon 12/11/2006 4:26 PM
To: surabhi.ahuja
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] installation problem, for Postgres 8.2.0

Can you show me the output for:

ldconfig -p | grep libreadline

-----------
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)

On 12/11/06, surabhi.ahuja <surabhi.ahuja@iiitb.ac.in > wrote:
 I am trying to install Postgre 8.2.0 on my mc FC4
 
first i installed the libs
 
next when i tried installing: postgresql-8.2.0-2PGDG.i686.rpm
it gave me this error:
 
error: Failed dependencies:
        libreadline.so.5 is needed by postgresql-8.2.0-2PGDG
please tell me what to do
thanks,
regards
Surabhi
This message has been scanned by the Trend Micro IGSA and found to be free of known security risks.

This message has been scanned by the Trend Micro IGSA and found to be free of known security risks.

This message has been scanned by the Trend Micro IGSA and found to be free of known security risks.