64 and 32 bit libpq

From: Jerry LeVan <jerry(dot)levan(at)gmail(dot)com>
To: "pgsql-general(at)postgresql(dot)org general" <pgsql-general(at)postgresql(dot)org>
Subject: 64 and 32 bit libpq
Date: 2017-02-13 01:03:09
Message-ID: 071643F9-FA1C-4476-80F9-02C266BD723E@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello, I am trying to upgrade my postgresql ‘stuff’ to 64 bits from 32 bits.

I am running MaxOS Sierra.

I have built the 64 bit version of the server and have loaded
my database into the new server ( 9.6.2 ). Everything seems to be working.

I have some legacy apps that are 32 bit and talk to the server
via libpq.dylib. They no longer work with a complaint about
not finding a libpq with the right architecture.

Can I go back and do a 32 bit rebuild of everything and then
take the 32 bit libpq and the 64 bit libpq and use lipo to
glue them together and create a ‘fat’ libpq and replace the
installed libpq?

Is this a safe thing to do?

Thanks

Jerry

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Steve Atkins 2017-02-13 03:42:56 Re: 64 and 32 bit libpq
Previous Message Adrian Klaver 2017-02-12 21:43:06 Re: configure can't find libcrypto on MacOS Sierra for pg 9.6.2