I try to build GS 8.64 with following options ./configure --prefix=/opt/Ghostscript-8.64 and following bug happens XCFLAGS= XINCLUDE= XLDFLAGS= XLIBDIRS= XLIBS= \ FEATURE_DEVS= DEVICE_DEVS= DEVICE_DEVS1= DEVICE_DEVS2= DEVICE_DEVS3= \ DEVICE_DEVS4= DEVICE_DEVS5= DEVICE_DEVS6= DEVICE_DEVS7= DEVICE_DEVS8= \ DEVICE_DEVS9= DEVICE_DEVS10= DEVICE_DEVS11= DEVICE_DEVS12= \ DEVICE_DEVS13= DEVICE_DEVS14= DEVICE_DEVS15= DEVICE_DEVS16= \ DEVICE_DEVS17= DEVICE_DEVS18= DEVICE_DEVS19= DEVICE_DEVS20= \ DEVICE_DEVS_EXTRA= \ /bin/sh <./obj/ldt.tr Undefined first referenced symbol in file libiconv_close ./obj/gdevopvp.o libiconv_open ./obj/gdevopvp.o libiconv ./obj/gdevopvp.o ld: fatal: Symbol referencing errors. No output written to ./bin/gs collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `bin/gs'
Looks like you do not have libiconv installed ?
I ran into this same issue the other day while building on Solaris 10 x86. We need to detect this during ./configure.
We try to detect this during configue . I wrote the current test. Apparently, it doesn't work as expected although on all platforms.
libiconv is correctly installed with package from sunfreeware.com. I also compiled Imagemagick with that installation and all works fine. System information: SUN Solaris 10 / Sparc / gcc 3.4.6
Created attachment 5196 [details] Config.log
*** Bug 690614 has been marked as a duplicate of this bug. ***
The work-around for the case of GNU iconv.h and system libraries was ineffective because of the typo. Rev 9871 corrects the typo. See bug 690123 for details. *** This bug has been marked as a duplicate of 690123 ***