Add a New Comment (Rich Markup)
Comment Type & Canned Response: None No canned response available
OK, then I close the bug.
Confirmed. Once I fixed my perl environment I had no problems compiling WeeChat with perl support.
I think you're right. The issue is my perl environment. Once I get things fixed up I'll re-open this if the issue persists.
Yes I do believe /usr/local/lib is where Perl goes by default on CentOS.
[xxxxxx@localhost ~]$ which perl /usr/local/bin/perl
[xxxxxx@localhost perl5]$ pwd /usr/local/lib/perl5 [xxxxxx@localhost perl5]$ ls -la total 16 drwxr-xr-x 4 root root 4096 Nov 27 09:46 . drwxr-xr-x. 9 ntop ntop 4096 Nov 27 09:46 .. drwxr-xr-x 59 root root 4096 Nov 27 09:46 5.18.1 drwxr-xr-x 3 root root 4096 Nov 27 09:46 site_perl
I'll have to do a quick VM build to confirm. I do remember a little while ago mucking with Perl and I wonder if I've broken something.
Hi,
I'm not sure this is a WeeChat problem, because the error says:
/usr/local/lib/perl5/5.18.1/x86_64-linux/CORE/libperl.a: could not read symbols: Bad value
which is not a WeeChat file, but from your perl install.
Is it normal that your perl is in /usr/local/lib and not /usr/lib/ ? Is it the standard CentOS perl install ?
Running CentOS 6.5 64-bit with Perl 5.18.1.
When running 'make' I get the following:
... [ 78%] Building C object src/plugins/xfer/CMakeFiles/xfer.dir/xfer-upgrade.o Linking C shared module xfer.so [ 78%] Built target xfer [ 79%] Building C object src/plugins/perl/CMakeFiles/perl.dir/weechat-perl.o [ 79%] Building C object src/plugins/perl/CMakeFiles/perl.dir/weechat-perl-api.o Linking C shared module perl.so /usr/bin/ld: /usr/local/lib/perl5/5.18.1/x86_64-linux/CORE/libperl.a(op.o): relocation R_X86_64_32S against `PL_sv_yes' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/perl5/5.18.1/x86_64-linux/CORE/libperl.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [src/plugins/perl/perl.so] Error 1 make[1]: *** [src/plugins/perl/CMakeFiles/perl.dir/all] Error 2 make: *** [all] Error 2
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Only logged-in users can vote.
Please enter the title of George Orwell's famous dystopian book (it's a date):
Follow 4 latest changes.
Copyright © 2022 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.9