Install problems (libpq.so.1)

Started by astromonkover 26 years ago1 messagesgeneral
Jump to latest
#1astromonk
astromonk@flashmail.com

hello again:

libpq.so.2 is symlinked to libpq.so. I copied libpq.so to libpq.so.1 and then
reran >/sbin/ldconfig (/usr/lib is found in /etc/ld.so.conf where all libpq.so
files are found - I could not find any .so's under the postgres installation
directorys) I then ran >rpm -Uvh perl-DBD-pg.rpm is still giving me problems
saying it cannot find libpq.so.1.

Even though I copied libpq.so to libpq.so.1 locate libpq does not list
libpq.so.1. If I can make locate find the .so.1 then I think the rpm install
will work. I do not need to use the C programmers interface only perl will be
connecting to postgres so I hope I will not run into compatibility problems by
installing a version of DBD that was not made for PostgreSQL 6.4.2.

I really cannot go back and install a previous version of PostgreSQL because I
am working on a large open source project and all other members of the team
are on 6.4.2.

thanks

Astro

"Robert J. Sprawls" wrote:

Show quoted text

On Sun, 1 Aug 1999, astromonk wrote:

Hello:

where can I find libpq.so.1?

I am trying to install DBI/DBD for postgreSQL. I found
perl-DBI-1.06-1.i386.rpm on rpmfind.net and it installed just fine but
when I tried to install perl-DBD-Pg-0.91-1.i386.rpm I get a message that

this package needs libpq.so.1. What package do I need to install to
find libpq.so.1? Is there a later version of perl-DBD in RPMS format
out there?
I am really adverse to putting anything on my system that is not in rpm
format.

libpq is the C programmer's interface to PostgreSQL server, and is
included with PostgreSQL. Do a "locate libpq" and see what version you
have. You might be able to get away with creating a symbolic link to one
of the libpq's you have. If not, you'll need to find an older version of
PostgreSQL or libpq or find a newer version of perl-DBD-Pg-0.91. Sometimes
you have to skirt the RPM.

Robert