Re: [Nagios-devel] Nagios 3.0 RC2: Segmentation faults

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] Nagios 3.0 RC2: Segmentation faults

Post by Guest »

On 14-Feb-08, Hendrik Bäcker wrote:
> Would it be solved just by re-arange from (base/Makefile):
>
> nagios: nagios.c ....
> $(CC) [flags and co] $(PERLLIBS) ... $(LIBS)
>
> to s.th. like:
>
> nagios: nagios.c ....
> $(CC) [flags and co] $(LIBS) $(PERLLIBS) ...
>

I tried exactly this, but it did not help. :(

The configure script uses "`perl -MExtUtils::Embed -e ldopts`", which
gives

-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/CORE -L/usr/local/lib64 /usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/CORE -lperl -lm -ldl -lcrypt -lpthread

for PERLLIBS here.

Trying this now:

$(CC) [flags and co] $(LIBS) -lc $(PERLLIBS)

Regards,

--
Olaf Dabrunz (od/odabrunz)
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked