Hello,
I'm having issues with some installed ports (namely building vim or the Perl plugin in irc/weechat) after following /usr/ports/UPDATING and switching to threaded Perl, with any associated modules built against Perl complaining about `PL_thr_key'. While everything seems to build besides Vim, usage of Perl related modules fail with the `PL_thr_key' error.
For example, irc/weechat I get:
While building editors/vim with Perl support enabled I get:
I've rebuilt my ports depending on lang/perl5.16 using the following portmaster or portupgrade variations hoping to solve the issue:
I've used
My perl make options are default, using:
I have set the following in /etc/make.conf as well to be safe:
Are there library issues afoot? I've tried to be diligent about following /usr/ports/UPDATING.
I am running
I'm having issues with some installed ports (namely building vim or the Perl plugin in irc/weechat) after following /usr/ports/UPDATING and switching to threaded Perl, with any associated modules built against Perl complaining about `PL_thr_key'. While everything seems to build besides Vim, usage of Perl related modules fail with the `PL_thr_key' error.
For example, irc/weechat I get:
Code:
Error: unable to load plugin "/usr/local/lib/weechat/plugins/perl.so": /usr/local/lib/weechat/plugins/perl.so: Undefined symbol "PL_thr_key"
While building editors/vim with Perl support enabled I get:
Code:
if_perl.c:(.text+0x23f8): undefined reference to `Perl_croak_nocontext'
if_perl.c:(.text+0x2404): undefined reference to `Perl_croak_nocontext'
objects/if_perl.o: In function `newWINrv':
if_perl.c:(.text+0x2428): undefined reference to `PL_thr_key'
if_perl.c:(.text+0x246a): undefined reference to `PL_thr_key'
if_perl.c:(.text+0x2487): undefined reference to `PL_thr_key'
if_perl.c:(.text+0x24b5): undefined reference to `PL_thr_key'
if_perl.c:(.text+0x24d2): undefined reference to `PL_thr_key'
objects/if_perl.o:if_perl.c:(.text+0x2504): more undefined references to `PL_thr_key' follow
link.sh: Linking failed
*** [vim] Error code 1
I've rebuilt my ports depending on lang/perl5.16 using the following portmaster or portupgrade variations hoping to solve the issue:
portmaster -r perl5- portupgrade -rfb perl* portmaster -r perlI've used
portsnap fetch extract so I am working with a clean ports structure.My perl make options are default, using:
Code:
[X] PERL_64BITINT - Use 64bit integers (on i386)
[X] PTHREADS - Build with -pthread
[X] THREADS - Build threaded perl
[X] USE_PERL - Rewrite links in /usr/bin
Code:
DEFAULT_VERSIONS= perl5=5.16
Are there library issues afoot? I've tried to be diligent about following /usr/ports/UPDATING.
I am running
portmaster -r perl5- one more time (after temporarily removing perl support from vim) and I'll swing back and see if I can get vim to build successfully with perl support and weechat to properly load the perl.so without the PL_thr_key issue. I'd really like to avoid running portmaster -af or similar to rebuild everything but I must be missing something here.