Обсуждение: installation problem, for Postgres 8.2.0
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
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. |
Can you show me the output for:
ldconfig -p | grep libreadline
-----------
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)
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 FC4first i installed the libsnext when i tried installing: postgresql-8.2.0-2PGDG.i686.rpmit gave me this error:error: Failed dependencies:
libreadline.so.5 is needed by postgresql-8.2.0-2PGDGplease tell me what to dothanks,regardsSurabhi
This message has been scanned by the Trend Micro IGSA and found to be free of known security risks.
the o/p for ldconfig -p | grep libreadline
it is
ibreadline.so.4 (libc6) => /usr/lib/libreadline.so.4
thanks,
regards
Surabhi
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)
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 FC4first i installed the libsnext when i tried installing: postgresql-8.2.0-2PGDG.i686.rpmit gave me this error:error: Failed dependencies:
libreadline.so.5 is needed by postgresql-8.2.0-2PGDGplease tell me what to dothanks,regardsSurabhi
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. |
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)
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 libreadlineit isibreadline.so.4 (libc6) => /usr/lib/libreadline.so.4
thanks,regardsSurabhiFrom: 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.0Can 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 FC4first i installed the libsnext when i tried installing: postgresql-8.2.0-2PGDG.i686.rpmit gave me this error:error: Failed dependencies:
libreadline.so.5 is needed by postgresql-8.2.0-2PGDGplease tell me what to dothanks,regardsSurabhi
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.
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
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)
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
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)
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 libreadlineit isibreadline.so.4 (libc6) => /usr/lib/libreadline.so.4
thanks,regardsSurabhiFrom: 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.0Can 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 FC4first i installed the libsnext when i tried installing: postgresql-8.2.0-2PGDG.i686.rpmit gave me this error:error: Failed dependencies:
libreadline.so.5 is needed by postgresql-8.2.0-2PGDGplease tell me what to dothanks,regardsSurabhi
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. |
> 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
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)
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 messageshould i reboot?thankssurabhi
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.0Logged 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 libreadlineit isibreadline.so.4 (libc6) => /usr/lib/libreadline.so.4
thanks,regardsSurabhiFrom: 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.0Can 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 FC4first i installed the libsnext when i tried installing: postgresql-8.2.0-2PGDG.i686.rpmit gave me this error:error: Failed dependencies:
libreadline.so.5 is needed by postgresql-8.2.0-2PGDGplease tell me what to dothanks,regardsSurabhi
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.