Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dSQyC-0001JH-R3 for pgsql-odbc@arkaria.postgresql.org; Tue, 04 Jul 2017 16:46:37 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dSQyB-0007ry-Ny for pgsql-odbc@arkaria.postgresql.org; Tue, 04 Jul 2017 16:46:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dSQxo-0007CP-Je for pgsql-odbc@postgresql.org; Tue, 04 Jul 2017 16:46:12 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dSQxk-00076D-UZ for pgsql-odbc@postgresql.org; Tue, 04 Jul 2017 16:46:11 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 9CF4C20769; Tue, 4 Jul 2017 12:46:07 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Tue, 04 Jul 2017 12:46:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=vnZscSMYJtMLesqMpw KHcMykbRUG1UB4nujVNEa98gA=; b=fyym+zFqWKpddF+YqR0xRcahbFT/tp3K9P RVFeO9Kzwd9TRnUjpaRUjFKpNlAO548QPfhPaHGEt7XhV3pGKzjsRmLbh4lWRDhx 0a4tQ6SVuN4URV0qVBANmoYYmvJf4P5TikCTwq0xtBI/as3bnCZ/a1FoM1re2cW+ koVbeiT+L8Y0dCK2Hz+z5wQlxos4UbtZiTcpQ8DNJDeii7DSrlAFxqkphxLEjihD pJCTqnMxH0XJhKA4ajP0oJiFXAq05t3nCJ9YufGLI9WwowBoBptA0MfRhirFoKkC F5mXtg1NB6UrrX/o+UNkdZhEETM6tDKljvX4gEKu/8NLfLz/lO5A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=vnZscSMYJtMLesqMpwKHcMykbRUG1UB4nujVNEa98gA=; b=LmZbwAaH HKefhggXLNJpLLog/Eq+UIBn9cYWssRV8v7H/LydCV/mUh19FLTMjd+umIuF9bAP sAj0Xtzde4dhOF6YurDS70MiKmMyEirw135rb+RtWftT0d8rYGAtVy3UpN8rJQcT zhc0dq9vif60VapLbmYg2AQqQiHSCOtNWUCXUR8/SFlZ69G/2KEFIcGp6VEGkFQI MJ5cpiwmaAXrzdwymlrr5vs+nrBtaeU9NVrLC+ZPgHETZ18lLzvDUqRoDGiQeskt i2uByBii1xXCRJsa4d9kxFHARsTlHlUgZinljV1xpqVwp8MPpG5ahfVBZi6Lr+T/ 4JD6JM3BZaGyFQ== X-ME-Sender: X-Sasl-enc: MX85Yi/3KecAJ0JccQD/uYCaFSG/zpb7oileZqCGeTjD 1499186767 Received: from [192.168.1.2] (75-165-115-124.tukw.qwest.net [75.165.115.124]) by mail.messagingengine.com (Postfix) with ESMTPA id 1C2FA240B0; Tue, 4 Jul 2017 12:46:07 -0400 (EDT) Subject: Re: Fail to install psqlodbc due to libpq version incorrect To: Joe CT NG , "'pgsql-odbc@postgresql.org'" References: <64d631bf65aa494b836db0748af091dc@SFCMBX11.intra.hksfc.org.hk> <7a02c11a-ff48-1c7a-92e7-6f4e32d75a1b@aklaver.com> <9b536f91928c45f18c471453cba972bc@SFCMBX11.intra.hksfc.org.hk> <75daf18a58b548d6aca704b0db101147@SFCMBX11.intra.hksfc.org.hk> <32c32ac4-79f6-cb57-8d70-500190019d81@aklaver.com> <0915c90a16f84acd920bb21a6032e676@SFCMBX11.intra.hksfc.org.hk> From: Adrian Klaver Message-ID: <022c8798-9442-a346-5636-fe2b8bd055dc@aklaver.com> Date: Tue, 4 Jul 2017 09:46:06 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <0915c90a16f84acd920bb21a6032e676@SFCMBX11.intra.hksfc.org.hk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org 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