Nagios 3.0 RC2: Segmentation faults after starting

Olaf Dabrunz od at suse.de
Thu Feb 14 17:16:30 CET 2008


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 SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list