installation problem, for Postgres 8.2.0

Started by surabhi.ahujaover 19 years ago9 messagesgeneral
Jump to latest
#1surabhi.ahuja
surabhi.ahuja@iiitb.ac.in

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.

#2Shoaib Mir
shoaibmir@gmail.com
In reply to: surabhi.ahuja (#1)
Re: installation problem, for Postgres 8.2.0

Can you show me the output for:

ldconfig -p | grep libreadline

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

Show quoted text

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.

#3Shoaib Mir
shoaibmir@gmail.com
In reply to: surabhi.ahuja (#1)
Re: 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.enterprisedb.com)

Show quoted text

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.

#4surabhi.ahuja
surabhi.ahuja@iiitb.ac.in
In reply to: surabhi.ahuja (#1)
Re: installation problem, for Postgres 8.2.0

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.

#5Dave Page
dpage@pgadmin.org
In reply to: Shoaib Mir (#3)
Re: installation problem, for Postgres 8.2.0

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

#6Shoaib Mir
shoaibmir@gmail.com
In reply to: Dave Page (#5)
Re: installation problem, for Postgres 8.2.0

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)

Show quoted text

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

#7surabhi.ahuja
surabhi.ahuja@iiitb.ac.in
In reply to: surabhi.ahuja (#1)
Re: installation problem, for Postgres 8.2.0

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.so5

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: surabhiahuja
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.

#8Albe Laurenz
all@adv.magwien.gv.at
In reply to: surabhi.ahuja (#7)
Re: 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

please tell me what to do

Install readline!

Yours,
Laurenz Albe

#9Shoaib Mir
shoaibmir@gmail.com
In reply to: surabhi.ahuja (#7)
Re: installation problem, for Postgres 8.2.0

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)

Show quoted text

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 <http://www.enterprisedb.com&gt;)

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
<surabhiahuja@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.