GhostScript update from 9.02 to 9.05

Actually, I wanted to upgrade existing Ghostscript from version 9.02 to 9.05. When I run make inside package 9.05, I get the following error:

if [ x != x ]; then LD_RUN_PATH=; export LD_RUN_PATH; fi; \ 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 symbols for architecture x86_64: "_iconv_open", referenced from: _opvp_to_utf8 in gdevopvp.o "_iconv", referenced from: _opvp_to_utf8 in gdevopvp.o "_iconv_close", referenced from: _opvp_to_utf8 in gdevopvp.o ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status make: *** [bin/gs] Error 1 

I use Mac OS Lion X as my development machine.

Can I find out how I can overcome this? Your help is greatly appreciated. Thanks..

+4
source share
1 answer

I think you have two possible solutions. First check out the β€œNOTE:” section of this link: http://www.ghostscript.com/doc/current/Make.htm#MacOSX

Secondly, try to do:

 ./configure --with-libiconv=no 

This will disable the OpenPrinting Vector (opvp) device, but since this is not recommended for a long time, I doubt that you need to use it.

+5
source

Source: https://habr.com/ru/post/1402379/


All Articles