Hey there,
I am trying to compile gnuplot-3.8i (from the
distribution on SF) with using the gd libs. However, I
get the error:
term.o: In function `PNG_options':
/usr0/bryanba/gnuplot/gnuplot-3.8i.0/src/../term/gd.trm:606:
undefined reference to `gdImageStringFT'
/usr0/bryanba/gnuplot/gnuplot-3.8i.0/src/../term/gd.trm:532:
undefined reference to `gdImageStringFT'
term.o: In function `PNG_put_text':
/usr0/bryanba/gnuplot/gnuplot-3.8i.0/src/../term/gd.trm:1068:
undefined reference to `gdImageStringFT'
/usr0/bryanba/gnuplot/gnuplot-3.8i.0/src/../term/gd.trm:1090:
undefined reference to `gdImageStringFT'
I have gd-1.8.3-7 (libs and devel) installed on RedHat
7.2 and have tried installing with and without the
using the --with-gd=/usr/lib/ flag, but no luck.
Any ideas?
-Brent (brent@whitties.org)
Logged In: YES
user_id=27517
Something went wrong with your ./configure run. It should
have detected that you have the GD library, but not the
freetype library that enables it to use more advanced fonts.
The function it's complaining about it the interface between
freetype and GD. For now, you may have to run ./configure
using the "--without-freetype" option, or set up that
library and retry the gnuplot from scratch (after a "make
distclean").
Logged In: YES
user_id=235620
It appears that the gdImageStringFT() function had a different
name prior to version 1.8.4 of libgd. I will look into
autodetecting this version problem in ./configure and
substituting the older call name instead.
I will also add it to my growing list of libgd version problems.
2.0.1 breaks area fill; 2.0.3 breaks text rotation....
I haven't noticed any problems with 1.8.4 or 2.0.4 so I
recommend
switching to one of those for an immediate fix.
Logged In: YES
user_id=28904
This function is related to FreeType support in gd. Do you have
FreeType rpms installed, and which version?
What did configure say about the presence of gdImageStringFT
or gdImageStringTTF?
Logged In: YES
user_id=28904
No further feedback - closing.