Solved

gd, png, and/or jpeg libraries could not be located... on sles11sp3

Posted on 2014-04-25
22
528 Views
Last Modified: 2014-06-12
HI,
I need to install nagios-4.0.5.
I have gd, libpng12-0 and libjpeg installed on my system and configure still insists that the "GD, PNG, and/or JPEG libraries could not be located!"
Thanks.
0
Comment
Question by:edolivier
  • 8
  • 5
  • 5
  • +1
22 Comments
 
LVL 18

Expert Comment

by:Sanga Collins
Comment Utility
Which Linux distro are you using? That will help alot in determining how to solve this for you.
0
 

Author Comment

by:edolivier
Comment Utility
Hi,
sles11sp3
0
 
LVL 18

Expert Comment

by:Sanga Collins
Comment Utility
have you installed gd-devel ?

I think that should add the missing libraries
0
 
LVL 34

Expert Comment

by:Seth Simmons
Comment Utility
also need libpng-devel and libjpeg-devel in case they are not included when installing gd-devel
0
 

Author Comment

by:edolivier
Comment Utility
Thanks Sage,
There is no package gd-devel available on sles11sp3.
0
 

Author Comment

by:edolivier
Comment Utility
Thanks Sage and Seth Simmons.
How do I installed properly.
Sorry my english.
0
 
LVL 34

Accepted Solution

by:
Seth Simmons earned 500 total points
Comment Utility
what does...

zypper install gd-devel libpng-devel libjpeg-devel

result in?
0
 
LVL 61

Expert Comment

by:gheist
Comment Utility
It is as easy as "zypper in nagios"
"zypper se nagios-" will give plugins list (you dont need all at once)
0
 
LVL 34

Expert Comment

by:Seth Simmons
Comment Utility
It is as easy as "zypper in nagios"

i'm running suse 12.3 and doing that would install nagios 3.5.0
in suse 11 i doubt 4.0.5 will be there hence trying to compile from source
0
 

Author Comment

by:edolivier
Comment Utility
Thanks,
I need to compile nagios 4.0.5 from source.
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 61

Expert Comment

by:gheist
Comment Utility
You can compile rpms from opensuse srpms. Hand compilation will make your system full of unmaintainable software.
0
 

Author Comment

by:edolivier
Comment Utility
Thanks,
I need to compile nagios 4.0.5 from source.
0
 
LVL 34

Expert Comment

by:Seth Simmons
Comment Utility
have you tried the zypper command i posted before?
0
 
LVL 61

Expert Comment

by:gheist
Comment Utility
Rpmbuild uzes source file (see tb option)
0
 

Author Comment

by:edolivier
Comment Utility
I installed and resolved dependencies.
Thanks all.
0
 

Author Comment

by:edolivier
Comment Utility
I've requested that this question be closed as follows:

Accepted answer: 0 points for edolivier's comment #a40042812

for the following reason:

'cause I solved the issue.
0
 
LVL 34

Expert Comment

by:Seth Simmons
Comment Utility
what was the solution?
0
 
LVL 61

Expert Comment

by:gheist
Comment Utility
Please explain. To me it seems http:#a40023978 resolved them already
0
 
LVL 61

Expert Comment

by:gheist
Comment Utility
Please explain. To me it seems http:#a40023978 resolved them already
0
 

Author Comment

by:edolivier
Comment Utility
I installed and resolved dependencies.
Thanks all.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Introduction People like FTP.  It's a solid, stable, robust protocol for quickly transferring files between two hosts using TCP/IP.  In most cases it's much faster than SMB or CIFS, and certainly much easier to set up between organizations.  This…
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now