From: | Andy Colson <andy(at)squeakycode(dot)net> |
---|---|
To: | kbrannen(at)pwhome(dot)com, pgsql-general(at)postgresql(dot)org |
Subject: | Re: PG 10 and perl |
Date: | 2017-09-29 14:52:43 |
Message-ID: | 7c06583b-37ad-45c0-4034-9ce04b6a57a9@squeakycode.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 9/29/2017 9:28 AM, kbrannen(at)pwhome(dot)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(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
>> ...
>
>
> 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 done in 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 around to 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 it to 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
From | Date | Subject | |
---|---|---|---|
Next Message | Alexander Stoddard | 2017-09-29 16:27:39 | COPY vs \COPY FROM PROGRAM $$ quoting difference? |
Previous Message | Tom Lane | 2017-09-29 14:32:04 | Re: PG 10 and perl |