Nagios cgi's bomb out with fatal: libglib-2.0.so.0

Ben Douglas (bedougla) bedougla at cisco.com
Fri Oct 3 21:14:45 CEST 2008


Hello,
 
I'm trying to install on Solaris 8 which has been hard enough ;)  But I
finally got everything installed, but all my cgis are biting the dust
with the following in the apache error_log:
 
ld.so.1: tac.cgi: fatal: libglib-2.0.so.0: open failed: No such file or
directory
[Fri Oct  3 13:35:06 2008] [error] [client 10.98.14.21] Premature end of
script headers: /opt/local/nagios-3.0.3/sbin/tac.cgi

The ldd looks okay for these files and it looks like it *has* the
libglib-2.0.so.0 linked up correctly, but am at an impass with no clue
where to do.  Any tips for anyone else who's encountered this / knows
how to fix it?
 
bash-2.05b# ldd /opt/local/nagios/sbin/tac.cgi
        librt.so.1 =>    /lib/librt.so.1
        libglib-2.0.so.0 =>      /usr/local/lib/libglib-2.0.so.0
        libintl.so.2 =>  /usr/local/lib/libintl.so.2
        libiconv.so.2 =>         /usr/local/lib/libiconv.so.2
        libc.so.1 =>     /lib/libc.so.1
        libaio.so.1 =>   /lib/libaio.so.1
        libgcc_s.so.1 =>
/usr/cisco/packages/gcc/gcc-4.1.0/lib/libgcc_s.so.1
        libdl.so.1 =>    /lib/libdl.so.1
        /usr/platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1
bash-2.05b#

Unfortunately the machine is behing a nice lab internal firewall, so
have had to compile most everything from scratch in order to get stuff
that Cisco didn't already have.
 
Thanks,
Ben Douglas
 

  

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20081003/4636bfd5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 7375 bytes
Desc: image003.jpg
URL: <https://www.monitoring-lists.org/archive/users/attachments/20081003/4636bfd5/attachment.jpg>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list