|
From: <tim...@en...> - 2006-10-09 19:53:32
|
Lars Hecking wrote: > My mails still haven't appeared on the list ... > > Timoth?e Lecomte writes: > [...]=20 > =20 >> Moreover, there is a problem with gd on systems where GNU libiconv is=20 >> installed. In this case, gnuplot has to be linked against libiconv too= ,=20 >> or undefined references are obtained. The first offender here is=20 >> gdlib-config itself which doesn't report correctly '-liconv' but a ful= l=20 >> path to libiconv.so. But even if gd gets fixed in a future release (I=20 >> will send the corresponding patch to M. Boutell soon), the configure=20 >> script would not catch it since it doesn't take 'gdlib-config --libs'=20 >> into account. The attached patch fixes this issue too. >> =20 > > I now understand this problem. Linking with gd also requires iconv in > some cases, but gdlib-config provides iconv in --libs, which we only > use after configure comes back positive for gd - chicken and egg. > > The only solution I can offer is to do no configure checks for gd at a= ll > if gdlib-config is found. Potentially for pdflib, too. > =20 What about the attached solution (posted a few days ago) ? (ignore if you want the changes for AC_ARG_VAR and $GDLIB_CONFIG,=20 although they are useful too) Best regards, Timoth=E9e |