Thanks, I ended up using yum.
wget http://yum.pgsqlrpms.org/r
rpm -ivh pgdg-centos-8.4-1.noarch.r
yum install postgresql
yum install postgresql-server
Main Topics
Browse All TopicsHey,
I'm running CentOS 5.3 and need to install PostgreSQL 8.4.1. I tried installing from postgresql-8.4.1-1PGDG.f7.
Missing Dependency: libpq.so.5 is needed by package postgresql-8.4.1-1PGDG.f7.
Missing Dependency: postgresql-libs = 8.4.1-1PGDG.f7 is needed by package postgresql-8.4.1-1PGDG.f7.
So.... I got the postgresql-libs file postgresql-libs-8.4.1-1PGD
Missing Dependency: libpq.so.4 is needed by package apr-util-1.2.7-7.el5_3.2.i
Missing Dependency: libpq.so.4 is needed by package dovecot-1.0.7-7.el5.i386 (installed)
The really annoying thing is that I have the libpq.so.4 file on the server.
[root@SRV208 yum.repos.d]# find / -name libpq.so.4
/usr/lib/libpq.so.4
How can this be fixed? Can I just run the rpm with --nodeps?
Thanks,
Kathryn
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Thanks, I ended up using yum.
wget http://yum.pgsqlrpms.org/r
rpm -ivh pgdg-centos-8.4-1.noarch.r
yum install postgresql
yum install postgresql-server
Business Accounts
Answer for Membership
by: duncan_roePosted on 2009-10-03 at 20:53:22ID: 25488073
Yes you can use --nodeps and that will get you postgresql-libs installed. Be sure you have actually installed libpq.so.4 as distinct from it's just being in the yum repository. E.g. "locate libpq.so" and see where in the file system it is. i386 is claiming to need libpq.so.5 instead of libpq.so.4. I have seen real problems in the past with applications that try to use 2 different versions of the same library.
However , I see another problem ahead in that postgresql-8.4.1-1PGDG.f7.
Since you have yum, why not use it to do the upgrade instead of using rpm directly?