RE: [EXTERNAL]: Re: pglogical install errors openSUSE Leap 42.1 - Mailing list pgsql-general
From | Bellrose, Brian |
---|---|
Subject | RE: [EXTERNAL]: Re: pglogical install errors openSUSE Leap 42.1 |
Date | |
Msg-id | DM5PR0701MB3733B16152C03242C066E1CFE7130@DM5PR0701MB3733.namprd07.prod.outlook.com Whole thread Raw |
In response to | RE: [EXTERNAL]: Re: pglogical install errors openSUSE Leap 42.1 ("Bellrose, Brian" <brian.bellrose@Wabtec.com>) |
List | pgsql-general |
FYI, I was able to get it to work with the following steps: # zypper update curl openssl # zypper install gcc openssl-devel krb5-devel # zypper install postgresql94-9.4.25-61.1.x86_64 Then needed to download the 2.2.0 tarball from 2ndQuadrant as the newer versions would not compile: # bzip2 -d pglogical-2.2.0.tar.bz2 # tar -xvf pglogical-2.2.0.tar # cd pglogical-2.2.0/ # export PATH=/usr/lib/postgresql94/bin:$PATH # make USE_PGXS=1 clean all # make USE_PGXS=1 install And I was good after that. Added the pglogical to shared_preload_libraries and started the cluster. Thanks for the help. Brian -----Original Message----- From: Bellrose, Brian Sent: Tuesday, February 18, 2020 5:07 PM To: Adrian Klaver <adrian.klaver@aklaver.com>; pgsql-general@lists.postgresql.org Subject: RE: [EXTERNAL]: Re: pglogical install errors openSUSE Leap 42.1 I found a repository that offered it and added the repo. https://download.opensuse.org/repositories/home:vjt:ifad/openSUSE_Leap_42.1/home:vjt:ifad.repo Only time will tell if that was a wise decision. I only need to it to get me through my upgrade. Moving all these to RHEL8.1 and Postgres 11.7. Going to use pglogical to try and reduce downtime. Brian -----Original Message----- From: Adrian Klaver <adrian.klaver@aklaver.com> Sent: Tuesday, February 18, 2020 5:00 PM To: Bellrose, Brian <brian.bellrose@Wabtec.com>; pgsql-general@lists.postgresql.org Subject: Re: [EXTERNAL]: Re: pglogical install errors openSUSE Leap 42.1 On 2/18/20 1:56 PM, Bellrose, Brian wrote: > Yes, > > S | Name | Summary | Type > --+-----------------------+-------------------------------------------------------------------------+-------- > i | postgresql94 | Basic Clients and Utilities for PostgreSQL | package > i | postgresql94-contrib | Contributed Extensions and Additions to PostgreSQL | package > i | postgresql94-devel | PostgreSQL development header files and libraries | package > i | postgresql94-plperl | The PL/Tcl, PL/Perl, and PL/Python procedural languages for PostgreSQL | package > i | postgresql94-plpython | The PL/Python Procedural Languages for PostgreSQL | package > i | postgresql94-pltcl | PL/Tcl Procedural Language for PostgreSQL | package > i | postgresql94-server | The Programs Needed to Create and Run a PostgreSQL Server | package > i | postgresql94-test | The test suite for PostgreSQL | packagep Alright that looks good. You may still need to play Whack-a-Mole with devel libraries. I am curious how you got to 9.4.25 via an update, given that this Postgres version was released well past the OS EOL? > > Brian > > -----Original Message----- > From: Adrian Klaver <adrian.klaver@aklaver.com> > Sent: Tuesday, February 18, 2020 4:41 PM > To: Bellrose, Brian <brian.bellrose@Wabtec.com>; > pgsql-general@lists.postgresql.org > Subject: Re: [EXTERNAL]: Re: pglogical install errors openSUSE Leap > 42.1 > > On 2/18/20 1:22 PM, Bellrose, Brian wrote: >> I used zypper to install postgres. Postgres is fine... Running 9.4.25 that I updated today. So you have krb5-devel...Ok, good to know. Seems like that may be the missing link. At least I hope it is the only one. > > Was postgresql94-devel also installed? > >> >> Brian >> >> -----Original Message----- >> From: Adrian Klaver <adrian.klaver@aklaver.com> >> Sent: Tuesday, February 18, 2020 4:19 PM >> To: Bellrose, Brian <brian.bellrose@Wabtec.com>; >> pgsql-general@lists.postgresql.org >> Subject: Re: [EXTERNAL]: Re: pglogical install errors openSUSE Leap >> 42.1 >> >> On 2/18/20 12:54 PM, Bellrose, Brian wrote: >>> Yes, I understand that this OS is very old. I can't help that. I was handed this. The reason I am trying to install pglogicalis so that I can upgrade and get off this OS. Our requirements are for limited downtime so pglocical is best bet.At least I thought it was. >>> >>> Yes, I followed the source install doc. Can't be really called an install doc when all it states is run a make. It hasabout three sentences that encompass their complete install instructions from source. No documentation on package dependenciesor anything else or even what package do download. I tried 2.2.1 first and it did not work. I have gotten fartherwith 2.2.0, but I am getting what appears to be dependency errors. Might need to install krb5-devel. Not 100% clearthough. >> >> Well on my Leap 15.1 krb5-devel does provide gssapi.h. >> >> How was Postgres installed on the machine? >> >>> >>> Brian >>> >>> -----Original Message----- >>> From: Adrian Klaver <adrian.klaver@aklaver.com> >>> Sent: Tuesday, February 18, 2020 3:49 PM >>> To: Bellrose, Brian <brian.bellrose@Wabtec.com>; >>> pgsql-general@lists.postgresql.org >>> Subject: [EXTERNAL]: Re: pglogical install errors openSUSE Leap 42.1 >>> >>> On 2/18/20 11:39 AM, Bellrose, Brian wrote: >>>> In the process of trying to use pglogical to upgrade from 9.4 to 11.7. >>>> Current OS is openSUSE Leap 42.1. Downloaded pglogical-2.2.0.tar >>>> from >>> >>> FYI 42.1 is coming up on 3 years past EOL so you might have general issues with out of date libraries. >>> >>>> 2nsQuadrant site. I am getting the following error during make >>>> clean all >>>> command: >>> >>> Did you follow the source install instructions here?: >>> >>> https://urldefense.proofpoint.com/v2/url?u=https-3A__www.2ndquadrant. >>> c >>> om_en_resources_pglogical_pglogical-2Dinstallation-2Dinstructions_&d >>> = >>> D >>> wID-g&c=pG3N8eJDEvizGbIy8hw-0w&r=Avd8jJaAOeUVJ3AmVEriBLvYqiK8qqaP7C8 >>> h >>> u >>> ZnWyCI&m=1vh2nbBIrcqphzYV4i690_hEEZuRS71Da5SClwjBbOw&s=1O6j3zKQdkp8R >>> T >>> u >>> GPAQPB44lQi_IV9goSuWDjl0pnqI&e= >>> >>>> >>>> o pglogical_worker.c >>>> >>>> In file included from pglogical_worker.c:17:0: >>>> >>>> /usr/include/pgsql/server/libpq/libpq-be.h:36:27: fatal error: >>>> gssapi/gssapi.h: No such file or directory >>>> >>>> #include <gssapi/gssapi.h> >>>> >>>> ^ >>>> >>>> compilation terminated. >>>> >>>> <builtin>: recipe for target 'pglogical_worker.o' failed >>>> >>>> It appears that gssapi is Kerberos related. Just not exactly sure >>>> what package I am missing and should install on the OS to get this >>>> to compile. Currently I have only one gssapi related package >>>> installed on this system >>>> >>>> S | Name | Summary | >>>> Type >>>> >>>> --+---------------------------+--------------------------------------+-------- >>>> >>>> i | cyrus-sasl-gssapi | Plugin for the GSSAPI SASL mechanism | >>>> package >>>> >>>> Thanks, >>>> >>>> Brian >>>> >>>> /This email and any attachments are only for use by the intended >>>> recipient(s) and may contain legally privileged, confidential, >>>> proprietary or otherwise private information. Any unauthorized use, >>>> reproduction, dissemination, distribution or other disclosure of >>>> the contents of this e-mail or its attachments is strictly prohibited. >>>> If you have received this email in error, please notify the sender >>>> immediately and delete the original. Neither this information >>>> block, the typed name of the sender, nor anything else in this >>>> message is intended to constitute an electronic signature unless a >>>> specific statement to the contrary is included in this message. / >>> >>> >>> -- >>> Adrian Klaver >>> adrian.klaver@aklaver.com >>> This email and any attachments are only for use by the intended recipient(s) and may contain legally privileged, confidential,proprietary or otherwise private information. Any unauthorized use, reproduction, dissemination, distributionor other disclosure of the contents of this e-mail or its attachments is strictly prohibited. If you have receivedthis email in error, please notify the sender immediately and delete the original. Neither this information block,the typed name of the sender, nor anything else in this message is intended to constitute an electronic signature unlessa specific statement to the contrary is included in this message. >>> >> >> >> -- >> Adrian Klaver >> adrian.klaver@aklaver.com >> This email and any attachments are only for use by the intended recipient(s) and may contain legally privileged, confidential,proprietary or otherwise private information. Any unauthorized use, reproduction, dissemination, distributionor other disclosure of the contents of this e-mail or its attachments is strictly prohibited. If you have receivedthis email in error, please notify the sender immediately and delete the original. Neither this information block,the typed name of the sender, nor anything else in this message is intended to constitute an electronic signature unlessa specific statement to the contrary is included in this message. >> > > > -- > Adrian Klaver > adrian.klaver@aklaver.com > This email and any attachments are only for use by the intended recipient(s) and may contain legally privileged, confidential,proprietary or otherwise private information. Any unauthorized use, reproduction, dissemination, distributionor other disclosure of the contents of this e-mail or its attachments is strictly prohibited. If you have receivedthis email in error, please notify the sender immediately and delete the original. Neither this information block,the typed name of the sender, nor anything else in this message is intended to constitute an electronic signature unlessa specific statement to the contrary is included in this message. > -- Adrian Klaver adrian.klaver@aklaver.com This email and any attachments are only for use by the intended recipient(s) and may contain legally privileged, confidential,proprietary or otherwise private information. Any unauthorized use, reproduction, dissemination, distributionor other disclosure of the contents of this e-mail or its attachments is strictly prohibited. If you have receivedthis email in error, please notify the sender immediately and delete the original. Neither this information block,the typed name of the sender, nor anything else in this message is intended to constitute an electronic signature unlessa specific statement to the contrary is included in this message.
pgsql-general by date: