Solved

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

Posted on 2014-04-25
22
573 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 8
  • 5
  • 5
  • +1
22 Comments
 
LVL 18

Expert Comment

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

Author Comment

by:edolivier
ID: 40022523
Hi,
sles11sp3
0
 
LVL 18

Expert Comment

by:Sanga Collins
ID: 40022582
have you installed gd-devel ?

I think that should add the missing libraries
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
LVL 35

Expert Comment

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

Author Comment

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

Author Comment

by:edolivier
ID: 40022833
Thanks Sage and Seth Simmons.
How do I installed properly.
Sorry my english.
0
 
LVL 35

Accepted Solution

by:
Seth Simmons earned 500 total points
ID: 40023978
what does...

zypper install gd-devel libpng-devel libjpeg-devel

result in?
0
 
LVL 62

Expert Comment

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

Expert Comment

by:Seth Simmons
ID: 40024986
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
ID: 40025086
Thanks,
I need to compile nagios 4.0.5 from source.
0
 
LVL 62

Expert Comment

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

Author Comment

by:edolivier
ID: 40042218
Thanks,
I need to compile nagios 4.0.5 from source.
0
 
LVL 35

Expert Comment

by:Seth Simmons
ID: 40042247
have you tried the zypper command i posted before?
0
 
LVL 62

Expert Comment

by:gheist
ID: 40042324
Rpmbuild uzes source file (see tb option)
0
 

Author Comment

by:edolivier
ID: 40042812
I installed and resolved dependencies.
Thanks all.
0
 

Author Comment

by:edolivier
ID: 40110017
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 35

Expert Comment

by:Seth Simmons
ID: 40110014
what was the solution?
0
 
LVL 62

Expert Comment

by:gheist
ID: 40110015
Please explain. To me it seems http:#a40023978 resolved them already
0
 
LVL 62

Expert Comment

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

Author Comment

by:edolivier
ID: 40111525
I installed and resolved dependencies.
Thanks all.
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…
Suggested Courses

738 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