Bug 690690 - Missing symbol with ./configure --disable-fontconfig
Summary: Missing symbol with ./configure --disable-fontconfig
Status: RESOLVED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Build Process (show other bugs)
Version: 0.00
Hardware: Macintosh MacOS X
: P4 normal
Assignee: Hin-Tak Leung
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-05 08:01 UTC by Marcos H. Woehrmann
Modified: 2010-06-29 04:24 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos H. Woehrmann 2009-08-05 08:01:12 UTC
On Henry's MacPro

  make distclean
  ./configure --disable-fontconfig
  make

results in

  Undefined symbols:
    "_cairo_ps_surface_set_eps", referenced from:
        _devcairo_open_device in gdevcairo.o
  ld: symbol(s) not found
  collect2: ld returned 1 exit status
  make: *** [bin/gs] Error 1


These same set of commands do not fail on my iMac, so it's not a general Mac OS
X issue.
Comment 1 Hin-Tak Leung 2010-05-02 03:12:48 UTC
Grabbing a Ralph's bugs.
Comment 2 Hin-Tak Leung 2010-06-29 04:23:58 UTC
r11448 makes --disable-fontconfig implies --disable-cairo .

cairo depends on fontconfig. The reported problem seems to be linker-dependent - on recent linux, --disable-fontconfig would still build the cairo device (and the resulting gs binary dependent on libfontconfig through depending on libcairo). Possibly on MacPro, both direct+indirect dependent libraries needed to be presented to the linker. In any case, if the user specifies --disable-fontconfig, it should be understood that he/she does not want indirect dependencies either.
Comment 3 Hin-Tak Leung 2010-06-29 04:24:48 UTC
Meant to close with last comment.