error compiling nagios-core-2.11 when installing
Steps to Reproduce:
1. emerge nagios
2. eix-sync -vw (some days after)
3. emerge -uDN world
now, I have
Created attachment 147174 [details]
Created attachment 147176 [details]
log file from /var/log/portage
emerge -pv perl libperl output, please.
checks.o: In function `run_service_check':
checks.c:(.text+0x1f9c): undefined reference to `PL_thr_key'
utils.o: In function `deinit_embedded_perl':
utils.c:(.text+0x191c): undefined reference to `PL_op_mutex'
utils.c:(.text+0x193d): undefined reference to `Perl_croak_nocontext'
utils.o: In function `my_system':
utils.c:(.text+0x3242): undefined reference to `PL_thr_key'
collect2: ld returned 1 exit status
make: *** [nagios] Error 1
make: Leaving directory `/var/tmp/portage/net-analyzer/nagios-core-2.11/work/nagios-2.11/base'
make: *** [nagios] Error 2
# emerge -pv perl libperl
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] sys-devel/libperl-5.8.8-r1 USE="gdbm -berkdb -debug -ithreads" 0 kB
[ebuild R ] dev-lang/perl-5.8.8-r4 USE="gdbm ithreads -berkdb -build -debug -doc -perlsuid" 0 kB
Total: 2 packages (2 reinstalls), Size of downloads: 0 kB
(In reply to comment #4)
As you can see, you clearly have an ithreads mismatch between perl and libperl; that won't ever work. Plus you'll need to run perl-cleaner really-all or something like that after you've fixed that.
thanks, that was the problem :)