Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dcDou-00054Y-A4 for pgsql-hackers@arkaria.postgresql.org; Mon, 31 Jul 2017 16:45:28 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dcDot-0007oi-Jo for pgsql-hackers@arkaria.postgresql.org; Mon, 31 Jul 2017 16:45:27 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dcDos-0007ni-VO for pgsql-hackers@postgresql.org; Mon, 31 Jul 2017 16:45:27 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dcDom-0005mg-8o for pgsql-hackers@postgresql.org; Mon, 31 Jul 2017 16:45:25 +0000 Received: from msg.df7cb.de (unknown [IPv6:2a02:908:1470:60c0:76e5:bff:fef3:7e00]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 3xLlgL0K9xz3F0L; Mon, 31 Jul 2017 18:45:18 +0200 (CEST) Date: Mon, 31 Jul 2017 18:45:17 +0200 From: Christoph Berg To: Tom Lane Cc: Ashutosh Sharma , pgsql-hackers Subject: Re: pl/perl extension fails on Windows Message-ID: <20170731164517.a34wxaapos7u5toj@msg.df7cb.de> Mail-Followup-To: Christoph Berg , Tom Lane , Ashutosh Sharma , pgsql-hackers References: <4569.1499873707@sss.pgh.pa.us> <20170713195345.2q6zmrtxumljhoui@msg.df7cb.de> <3254.1501276475@sss.pgh.pa.us> <20170730211444.uvedz2a24gusoaxr@msg.df7cb.de> <20170731084044.q3wmppgt556zafzy@msg.df7cb.de> <30582.1501508356@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <30582.1501508356@sss.pgh.pa.us> User-Agent: NeoMutt/20170113 (1.7.2) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Re: Tom Lane 2017-07-31 <30582.1501508356@sss.pgh.pa.us> > Christoph Berg writes: > >>> The only interesting line in log/postmaster.log is a log_line_prefix-less > >>> Util.c: loadable library and perl binaries are mismatched (got handshake key 0xd500080, needed 0xd600080) > > Can we see the Perl-related output from configure, particularly the new > lines about CFLAGS? $ ./configure --with-perl checking whether to build Perl modules... yes checking for perl... /usr/bin/perl configure: using perl 5.26.0 checking for Perl archlibexp... /usr/lib/x86_64-kfreebsd-gnu/perl/5.26 checking for Perl privlibexp... /usr/share/perl/5.26 checking for Perl useshrplib... true checking for CFLAGS recommended by Perl... -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 checking for CFLAGS to compile embedded Perl... -DDEBIAN checking for flags to link embedded Perl... -fstack-protector-strong -L/usr/local/lib -L/usr/lib/x86_64-kfreebsd-gnu/perl/5.26/CORE -lperl -ldl -lm -lpthread -lc -lcrypt checking for perl.h... yes checking for libperl... yes Christoph -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers