histogram & missing library
Posted: Fri Jun 17, 2016 3:45 am
Hello all,
when I am trying to access histogram, I get an "Internal Server Error".
From apache2 logs, I get these:
[cgi:error] [pid 30784] [client 192.168.x.x:64470] AH01215: /var/www/nagios/cgi-bin/histogram.cgi: error while loading shared libraries: libgd.so.2: wrong ELF class: ELFCLASS64, referer: http://nagios/side.php
[cgi:error] [pid 30784] [client 192.168.x.x:64470] End of script output before headers: histogram.cgi, referer: http://nagios/side.php
Where should this libgd.so.2 be located?
I can find the file here: /usr/lib/x86_64-linux-gnu/libgd.so.2
Probably is search the library se wrong path
when I am trying to access histogram, I get an "Internal Server Error".
From apache2 logs, I get these:
[cgi:error] [pid 30784] [client 192.168.x.x:64470] AH01215: /var/www/nagios/cgi-bin/histogram.cgi: error while loading shared libraries: libgd.so.2: wrong ELF class: ELFCLASS64, referer: http://nagios/side.php
[cgi:error] [pid 30784] [client 192.168.x.x:64470] End of script output before headers: histogram.cgi, referer: http://nagios/side.php
Where should this libgd.so.2 be located?
I can find the file here: /usr/lib/x86_64-linux-gnu/libgd.so.2
Probably is search the library se wrong path