|
From: Lars H. <lhe...@us...> - 2006-10-09 17:23:43
|
My mails still haven't appeared on the list ... Timoth?e Lecomte writes: [...] > Moreover, there is a problem with gd on systems where GNU libiconv is > installed. In this case, gnuplot has to be linked against libiconv too, > or undefined references are obtained. The first offender here is > gdlib-config itself which doesn't report correctly '-liconv' but a full > path to libiconv.so. But even if gd gets fixed in a future release (I > will send the corresponding patch to M. Boutell soon), the configure > script would not catch it since it doesn't take 'gdlib-config --libs' > into account. The attached patch fixes this issue too. 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 all if gdlib-config is found. Potentially for pdflib, too. |