On 9/29/2017 9:28 AM, kbrannen@pwhome.com wrote:
>> Andy Colson wrote:
>> In PG 9.5 this worked fine, and compiling and running PG used the 5.26 version of perl:
>> root@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@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
>> ...
>
>
> I'm about to go down this path to prepare for 10.0, but I haven't had time yet.
>
> You don't show your configure command, but did you set PERL there as well as have it in your PATH? Here's what I've
donein the past:
>
> ./configure --prefix=/opt/pg-9.5 --with-system-tzdata --with-perl PERL=/opt/perl/bin/perl
>
> and it used our custom Perl just fine. If you did that, I'm not sure what else to say at the moment. I hope to get
aroundto checking out RC1 early next week though and I'll be using 5.26 as well.
>
> Hmm, given your report, I'll try to move it up my ToDo list to give myself more time. I'll report back here if I get
itto work and haven't seen a reply by you about you getting it to work also.
>
> Kevin
>
>
I only use --with-perl, that's all I've ever used. I didnt know you
could pass PERL=/opt/perl/bin/perl.
-Andy
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general