2012-03-20 152 views
4

其实我想将现有的Ghostscript从版本9.02更新到9.05最新版本。当我运行使9.05包里面,我得到以下错误:将GhostScript 9.02升级到9.05

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 

我使用的是Mac OS X狮子作为我的开发机。

我可以知道我该如何克服?你的帮助是非常赞赏。谢谢。

回答

5

我认为你有两种可能的解决方案。首先,看看“注:”部分中这个链接: http://www.ghostscript.com/doc/current/Make.htm#MacOSX

其次,尽量做:

./configure --with-libiconv=no 

这将禁用OpenPrinting矢量(opvp)设备,但因为这是长过时,我怀疑你需要使用它。