[cups] filter texttopdf && undefined symbol: FcPatternFormat

Helge Blischke helgeblischke at web.de
Mon Jan 18 07:19:31 PST 2016


You probably have an outdated version of libfontconfig installed on the system cups is running on.
The symbol
FcPatternFormat
is defined since version 2.09 of  the fontconfig package (info from the Linux manpage).

Helge

> Am 18.01.2016 um 15:55 schrieb Matthias Apitz <guru at unixarea.de>:
> 
> 
> Hello,
> 
> I've moved a complete CUPS 2.0.3 / cups-filter 1.0.x installation from
> one SuSE Linux server to another (the complete --prefix=/usr/local/sisis-cups2 tree).
> 
> While the configuration of cupsd and printing of the test page works
> fine, printing of UTF-8 text gives an error on the target host:
> 
> ...
> D [18/Jan/2016:14:39:34 +0100] [Job 19] Started filter /usr/local/sisis-pap/cups2/lib/cups/filter/texttopdf (PID 32350)
> D [18/Jan/2016:14:39:34 +0100] [Job 19] Started filter /usr/local/sisis-pap/cups2/lib/cups/filter/pdftopdf (PID 32351)
> D [18/Jan/2016:14:39:34 +0100] [Job 19] Started filter /usr/local/sisis-pap/cups2/lib/cups/filter/pdftops (PID 32352)
> D [18/Jan/2016:14:39:34 +0100] [Job 19] Started backend /usr/local/sisis-pap/cups2/lib/cups/backend/socket (PID 32353)
> D [18/Jan/2016:14:39:34 +0100] [Job 19] Page = 595x842; 12,12 to 583,830
> D [18/Jan/2016:14:39:34 +0100] [Job 19] STATE: +connecting-to-device
> D [18/Jan/2016:14:39:34 +0100] [Job 19] pdftops - copying to temp print file "/usr/local/sisis-pap/cups2/var/spool/cups/tmp/07e6056a4af7a"
> D [18/Jan/2016:14:39:34 +0100] [Job 19] Looking up "localhost"...
> D [18/Jan/2016:14:39:34 +0100] [Job 19] cups2-ps: symbol lookup error: cups2-ps: undefined symbol: FcPatternFormat
> D [18/Jan/2016:14:39:34 +0100] [Job 19] PID 32350 (/usr/local/sisis-pap/cups2/lib/cups/filter/texttopdf) stopped with status 127 (File too large)
> 
> Honestly, I have not much clue why the symbol FcPatternFormat is
> missing; the C-function call is in filters/texttopdf.c and no problem raised at
> link time. It seems to be a function of /usr/lib/libfontconfig.so.1 and
> the two shared libs (on the target system and where cups was built) are
> the same.
> 
> Any ideas how to debug this?
> 
> 	matthias
> -- 
> Matthias Apitz, ✉ guru at unixarea.de, ⌂ http://www.unixarea.de/  ☎ +49-176-38902045
> UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370)
> UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5
> _______________________________________________
> cups mailing list
> cups at cups.org
> https://www.cups.org/mailman/listinfo/cups




More information about the cups mailing list