Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 350471 (emerge-nagios-core)

Summary: net-analyzer/nagios-core-3.0.6-r2/temp/ccmMPFLe.o: In function `load_image_from_file': statusmap.c:(.text+0x11c6): undefined reference to `gdImageCreateFromJpeg'
Product: Gentoo Linux Reporter: Mark Sasson <msasson2004>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mark Sasson 2011-01-03 15:11:46 UTC
I tried to emerge nagios-core and failed. 

/var/tmp/portage/net-analyzer/nagios-core-3.0.6-r2/temp/ccmMPFLe.o: In function `load_image_from_file':
statusmap.c:(.text+0x11c6): undefined reference to `gdImageCreateFromJpeg'

Note that nagios-core depends on media-libs/jpeg and the only version of that lib available is media-libs/jpeg-6b-r9. I downloaded it and used ebuild to merge it. 
possible that library does not have gdImageCreateFromJpeg function and therfore it fails.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-01-04 19:36:59 UTC
1) Please paste your `emerge --info' output in a comment.
2) Attach the entire build log as a file.