print/ghostscript-gpl fails on amd64 with FONTCONFIG=on

Andriy Gapon avg at
Thu Mar 6 12:21:37 UTC 2008

on 06/03/2008 13:58 Andriy Gapon said the following:
> print/ghostscript-gpl fails to build on 6.3 amd64 with FONTCONFIG=on:
> /usr/bin/ld:
> /usr/ports/print/ghostscript-gpl/work/ghostscript-8.61/freetype/objs/freetype214MT_D.a(ftinit.o):
> relocation R_X86_64_32 can not be used when making a shared object;
> recompile with -fPIC
> /usr/ports/print/ghostscript-gpl/work/ghostscript-8.61/freetype/objs/freetype214MT_D.a:
> could not read symbols: Bad value
> gmake[1]: *** [bin/../sobin/] Error 1
> gmake[1]: Leaving directory
> `/usr/ports/print/ghostscript-gpl/work/ghostscript-8.61'
> gmake: *** [so] Error 2
> *** Error code 2
> Stop in /usr/ports/print/ghostscript-gpl.
> *** Error code 1

Sorry, I probably jumped to conclusions about FONTCONFIG, it seems that
FT_BRIDGE is more likely to blame.
===> The following configuration options are available for
     A4SIZE=on "Set A4 (not Letter) as a default paper size"
     FONTCONFIG=on "fontconfig support"
     FT_BRIDGE=on "FreeType bridge"
     ICONV=on "libiconv support (required by opvp/oprp drivers)"
     JPNFONTS=off "Japanese font support"
     SHLIB=on "With shared libraries"
     SVGALIB=off "svgalib support"
     X11=on "X11 support"

Andriy Gapon

More information about the freebsd-ports mailing list