Re: ./configure perfparse -> "configure: error: required library libgd unusable"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Dec 16, 2007 4:45 PM, Garrick Staples <garrick@xxxxxxx> 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.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux