I had the same problem. I solved it by installing postgresql-libs-7.1-1 RPM
package.
As you do not have that package in previous postgres installations (libraries
used to be in the base using rpostgresql-7.1 package) rpm -Fvh does not
work...
Regards,
Peter
Lamar Owen wrote:
>
> PryT wrote:
> >
> > hi all!
> >
> > i try to install postgresql-7.1.(rpm) on redhat 6.2, but it failed:
> > error: failed dependencies:
> > libpq.so.2 is needed by postgresql-7.1-1
>
> There is more than one RPM needed for the install. You need, for a
> 'regular' server install 'postgresql-7.1-1', 'postgresql-libs-7.1-1',
> and 'postgresql-server-7.1-1'. The reasons for this are explained in
> the README.rpm-dist file found on the website as well as in the RPM.
> --
> Lamar Owen
> WGCR Internet Radio
> 1 Peter 4:11
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://www.postgresql.org/search.mpl