Results 1 to 2 of 2
Hi
Im trying to install Nagios on Clarkconnect im using this guide:
Code:
nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html
just to kinda know what to do seen as im not installing it on ubuntu but ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-02-2009 #1Just Joined!
- Join Date
- Oct 2009
- Posts
- 1
Cant install Nagios GD Problems
Hi
Im trying to install Nagios on Clarkconnect im using this guide:just to kinda know what to do seen as im not installing it on ubuntu but i get this error when i try 'make all'Code:nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html
I couldn't install GD from apt-get but i compiled and installed the latest source. In '/usr/local/bin' i seem to have all the GD Files. So i dont know whats wrong?Code:/tmp/cc15nLsI.o(.text+0x1cc5): In function `load_image_from_file': /tmp/nagios-3.2.0/cgi/statusmap.c:2183: undefined reference to `gdImageCreateFromJpeg' collect2: ld returned 1 exit status make[1]: *** [statusmap.cgi] Error 1 make[1]: Leaving directory `/tmp/nagios-3.2.0/cgi' make: *** [all] Error 2
- 10-02-2009 #2
try this before you execute make
I'm not sure if ld looks in /usr/local/lib by default or not.Code:export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
Additionally, you can reinstall GD and this time, when you run the configure script pass --prefix=/usr that way it installs into /usr instead of /usr/local


Reply With Quote
