pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Joe CT NG <jctng@sfc.hk>
To: 'pgsql-odbc@postgresql.org' <pgsql-odbc@postgresql.org>
Subject: Re: Fail to install psqlodbc due to libpq version incorrect
Date: Tue, 4 Jul 2017 09:46:06 -0700
Message-ID: <022c8798-9442-a346-5636-fe2b8bd055dc@aklaver.com> (raw)
In-Reply-To: <0915c90a16f84acd920bb21a6032e676@SFCMBX11.intra.hksfc.org.hk>
References: <64d631bf65aa494b836db0748af091dc@SFCMBX11.intra.hksfc.org.hk>
	<7a02c11a-ff48-1c7a-92e7-6f4e32d75a1b@aklaver.com>
	<9b536f91928c45f18c471453cba972bc@SFCMBX11.intra.hksfc.org.hk>
	<d5f22223-8717-bbf8-4f5c-351354b1cdb9@aklaver.com>
	<75daf18a58b548d6aca704b0db101147@SFCMBX11.intra.hksfc.org.hk>
	<32c32ac4-79f6-cb57-8d70-500190019d81@aklaver.com>
	<0915c90a16f84acd920bb21a6032e676@SFCMBX11.intra.hksfc.org.hk>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

On 07/03/2017 06:54 PM, Joe CT NG wrote:
>> Actually should probably be:
> 
>> rpm -qf /opt/freeware/lib/libpq.so
> 
> # rpm -qf /opt/freeware/lib/libpq.so
> file /opt/freeware/lib/libpq.so: A file or directory in the path name does not exist.
> 
> # find / -name libpq.*so*
> /opt/freeware/lib/libpq.so.5
> /opt/freeware/lib64/libpq.so.5
> 
> # rpm -qf /opt/freeware/lib/libpq.so.5
> postgresql-libs-9.2.9-1
> 
> # rpm -qf /opt/freeware/lib64/libpq.so.5
> postgresql-libs-9.2.9-1

So the RPM postgresql-libs-9.2.9-1 was installed at some point in the 
past. This is just the client libraries for Postgres. I am not familiar 
with AIX, but I have to believe the package is similar to:

https://centos.pkgs.org/7/centos-x86_64/postgresql-libs-9.2.18-1.el7.x86_64.rpm.html


> 
> 
> The Administrator has no idea. >  From the result above, it looks like libpq was installed by an old 
version of postgresql.
> As I know, my colleague tried to install the latest version of postgresql and got the same error as me. Then she tried to install an older version that should be 9.2.9.

What version of Postgres and what package(s) did she install?

Or if not packages how did she install it?

What was the exact error?

What does find for libpq return now?

Also what version of psqlodbc are you trying to install?

How are you installing psqlodbc?

A suspicion I am working on is that even if newer versions of libpq 
where installed, PATH issues my be preventing psqlodbc from finding them.

> I wonder libpq should be a prerequisite or a component of the installation package...

Of which installation package?

> 



-- 
Adrian Klaver
adrian.klaver@aklaver.com


-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



view thread (9+ messages)

Message-ID: <022c8798-9442-a346-5636-fe2b8bd055dc@aklaver.com>
Permalink:  ../022c8798-9442-a346-5636-fe2b8bd055dc@aklaver.com/
Also on:    postgresql.org/message-id/022c8798-9442-a346-5636-fe2b8bd055dc@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: adrian.klaver@aklaver.com, jctng@sfc.hk
  Subject: Re: Fail to install psqlodbc due to libpq version incorrect
  In-Reply-To: <022c8798-9442-a346-5636-fe2b8bd055dc@aklaver.com>
  References: <64d631bf65aa494b836db0748af091dc@SFCMBX11.intra.hksfc.org.hk> <7a02c11a-ff48-1c7a-92e7-6f4e32d75a1b@aklaver.com> <9b536f91928c45f18c471453cba972bc@SFCMBX11.intra.hksfc.org.hk> <d5f22223-8717-bbf8-4f5c-351354b1cdb9@aklaver.com> <75daf18a58b548d6aca704b0db101147@SFCMBX11.intra.hksfc.org.hk> <32c32ac4-79f6-cb57-8d70-500190019d81@aklaver.com> <0915c90a16f84acd920bb21a6032e676@SFCMBX11.intra.hksfc.org.hk> <022c8798-9442-a346-5636-fe2b8bd055dc@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox