[CentOS] ./configure perfparse -> "configure: error: required library libgd unusable"

Rogelio scubacuda at gmail.com
Mon Dec 17 15:02:22 UTC 2007


On Dec 16, 2007 4:45 PM, Garrick Staples <garrick at usc.edu> wrote:

> As the configure output shows, /usr/bin/gdlib-config is there.  There is
> nothing to install to get /usr/bin/gdlib-config.
>
> You have to look at config.log to find the actual reason.


Here is a blip from config.log that might be relevant to my problem:

configure:26900: checking for gdMalloc in -lgdconfigure:26930: gcc -o
conftest -g -O2 -I/usr/include   -L/usr/lib -L/usr/X11R6/lib -lXpm -lX11
-ljpeg -lfreetype -lpng12 -lz -lm -lgd conftest.c -lgd   >&5/usr/bin/ld:
cannot find -lXpmcollect2: ld returned 1 exit statusconfigure:26936: $? =
1configure: failed program was:| /* confdefs.h.  */

(lots of garbage from confdefs.h)

| /* end confdefs.h.  */
|
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char gdMalloc ();
| int
| main ()
| {
| gdMalloc ();
|   ;
|   return 0;
| }
configure:26962: result: no
configure:26974: error: required library libgd unusable.
Install required and dependent files and rerun configure.
See config.log or FAQs for details.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20071217/b82a7203/attachment.html>


More information about the CentOS mailing list