In OpenPKG CURRENT, there are a couple of issues with some of the options to the gd package:
If %option "with_fontconfig no", then you need to pass an explicit --without-fontconfig to configure, or else it ends up linking to it if the packages are found from the RHEL libs (/usr/lib) directory. Also I although I am specifying "with_xpm no" and can see that configure is passing the "--without-xpm" option, if I run ldd on the gd binaries, I see that they are still linked to the RHEL libraries for Xpm (libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4). Not sure what the proper fix for this would be...anyone have any suggestions? thanks -steve