From: | Andy Colson <andy(at)squeakycode(dot)net> |
---|---|
To: | PostgreSQL general <pgsql-general(at)postgresql(dot)org> |
Subject: | PG 10 and perl |
Date: | 2017-09-29 04:20:45 |
Message-ID: | d5f467ee-17a3-0536-cde8-5f13d4cde91c@squeakycode.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
I'm not subscribed to the -devel list, so hopefully I can post this here.
I'm running slackware 14.2
I have the system perl (5.24) installed, and also perlbrew with perl 5.26 installed.
In PG 9.5 this worked fine, and compiling and running PG used the 5.26 version of perl:
root(at)firefly:/usr/local/pg95/lib/postgresql# ldd plperl.so
libperl.so => /opt/perl5/perls/perl-5.26/lib/5.26.1/x86_64-linux-thread-multi/CORE/libperl.so (0x00007f81e8bde000)
I started playing with 10, and cannot get it to use the right version of perl. I'll only use the system version:
root(at)firefly:/usr/local/pg10/lib/postgresql# ldd plperl.so
libperl.so => /usr/lib64/perl5/CORE/libperl.so (0x00007fc9c67d4000)
But, here's the thing. The config.log reports 5.26 version:
configure:7752: checking for perl
configure:7770: found /opt/perl5/perls/perl-5.26/bin/perl
configure:7782: result: /opt/perl5/perls/perl-5.26/bin/perl
configure:7804: using perl 5.26.1
configure:7837: checking for Perl archlibexp
configure:7841: result: /opt/perl5/perls/perl-5.26/lib/5.26.1/x86_64-linux-thread-multi
configure:7843: checking for Perl privlibexp
configure:7847: result: /opt/perl5/perls/perl-5.26/lib/5.26.1
configure:7849: checking for Perl useshrplib
configure:7853: result: true
configure:7862: checking for CFLAGS recommended by Perl
configure:7865: result: -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector
-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2
configure:7867: checking for CFLAGS to compile embedded Perl
configure:7870: result:
configure:7874: checking for flags to link embedded Perl
configure:7891: result: -fstack-protector-strong -L/usr/local/lib -L/opt/perl5/perls/perl-5.26/lib/5
.26.1/x86_64-linux-thread-multi/CORE -lperl -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
<snip>
configure:15976: checking for perl.h
configure:15976: gcc -c -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendi
f-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=s
tandard -O2 -fPIC -DLINUX_OOM_SCORE_ADJ=0 -D_GNU_SOURCE -I/opt/perl5/perls/perl-5.26/lib/5.26.1/x86_6
4-linux-thread-multi/CORE conftest.c >&5
configure:15976: $? = 0
configure:15976: result: yes
configure:15991: checking for libperl
configure:16007: gcc -o conftest -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-stateme
nt -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-pr
ecision=standard -O2 -fPIC -DLINUX_OOM_SCORE_ADJ=0 -D_GNU_SOURCE -I/opt/perl5/perls/perl-5.26/lib/5.2
6.1/x86_64-linux-thread-multi/CORE conftest.c -fstack-protector-strong -L/usr/local/lib -L/opt/per
l5/perls/perl-5.26/lib/5.26.1/x86_64-linux-thread-multi/CORE -lperl -lpthread -lnsl -ldl -lm -lcrypt -l
util -lc >&5
configure:16007: $? = 0
configure:16008: result: yes
<snip>
ac_cv_path_PERL=/opt/perl5/perls/perl-5.26/bin/perl
<snip>
perl_archlibexp='/opt/perl5/perls/perl-5.26/lib/5.26.1/x86_64-linux-thread-multi'
perl_embed_ccflags=''
perl_embed_ldflags=' -fstack-protector-strong -L/usr/local/lib -L/opt/perl5/perls/perl-5.26/lib/5.26.
1/x86_64-linux-thread-multi/CORE -lperl -lpthread -lnsl -ldl -lm -lcrypt -lutil -lc'
perl_privlibexp='/opt/perl5/perls/perl-5.26/lib/5.26.1'
perl_useshrplib='true'
Thanks for your time,
-Andy
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2017-09-29 05:06:44 | Re: pg_rewind copy so much data |
Previous Message | Hung Phan | 2017-09-29 04:06:45 | Re: pg_rewind copy so much data |