Thread: Postgresql.7.0.3

Postgresql.7.0.3

From
Rob Patience
Date:
I recently installed 'postgresql7.0.3' but when trying to run a command such as createuser, I get that 'libpq.so.2.1' does not exist. I have tried rebuilding the package, but to no avail. Is there a place where I can just get the libraries individually that it is asking for?
 
rob
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Rob Patience
Systems & Network Administrator
Filanet Corporation
408 331 3828 direct
408 415 1614 pager

 

Re: Postgresql.7.0.3

From
"ADBAAMD"
Date:
Rob Patience wrote:

> I recently installed 'postgresql7.0.3' but when trying to run a command
> such as createuser, I get that 'libpq.so.2.1' does not exist. I have
> tried rebuilding the package, but to no avail. Is there a place where I
> can just get the libraries individually that it is asking for?

    What's your OS, including version?  You compiled yourself or got a binary
package?  Have you looked for the file name in your file system?



--
  _
/ \   Leandro Guimarães Faria Corsetti Dutra         +55 (11) 3040 8913
\ /   Amdocs at Bell Canada                          +1 (514) 786 87 47
  X    Support Center, São Paulo, Brazil          mailto:adbaamd@bell.ca
/ \   http://terravista.pt./Enseada/1989/    mailto:leandrod@amdocs.com



Re: Postgresql.7.0.3

From
"ADBAAMD"
Date:
    Please reply to the list...

Rob Patience wrote:

> The OS is RedHat 6.1, I had to compile it from source as the version of rpm
> that I have didn't support the rpm version of the i386-binary of
> Postgresql703.
> I have looked in the file system it is no where to be found.



--
  _
/ \   Leandro Guimarães Faria Corsetti Dutra         +55 (11) 3040 8913
\ /   Amdocs at Bell Canada                          +1 (514) 786 87 47
  X    Support Center, São Paulo, Brazil          mailto:adbaamd@bell.ca
/ \   http://terravista.pt./Enseada/1989/    mailto:leandrod@amdocs.com



Re: Postgresql.7.0.3

From
Tom Lane
Date:
Rob Patience <RobP@Filanet.com> writes:
> I recently installed 'postgresql7.0.3' but when trying to run a command
> such as createuser, I get that 'libpq.so.2.1' does not exist.

Most likely you need to teach ldconfig (or local equivalent) about where
you put the Postgres shared libraries.

            regards, tom lane