> 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]