[cups] filter texttopdf && undefined symbol: FcPatternFormat

Matthias Apitz guru at unixarea.de
Mon Jan 18 06:55:38 PST 2016


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



More information about the cups mailing list