linking issues

Ethan Galstad nagios at nagios.org
Thu May 26 05:26:32 CEST 2005


libmath is needed for from float functions found in a few places.  
libnsl was used in older versions of Nagios that used named pipes for 
IPC.  Sockets will likely appear in Nagios 3.0, so I'll just comment 
them out of the configure script for the moment and not completely 
remove them.


On 22 May 2005 at 20:25, Andreas Ericsson wrote:

> What's the reason for linking in libmath and libnsl?
> 
> Insofar as I know no functions in either nagios or any of the cgi's
> use any advanced math and should work well without it.
> 
> libnsl is another library out of place. Perhaps it's needed by Sun and
> friends. On Linux (Fedora 3, Openwall current, Debian sarge) Nagios
> builds nicely without them, although I know Sun (and some others) have
> huge problems understanding any C-code at all without it. Perhaps
> -lnsl should be linked explicitly on those and dropped for other
> platforms?
> 
> -- 
> Andreas Ericsson                   andreas.ericsson at op5.se
> OP5 AB                             www.op5.se
> Lead Developer
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by Oracle Space Sweepstakes
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel
> 
> 



Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org



-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click




More information about the Developers mailing list