Bug#535952: xprint: Xprt can't find symbol PrinterFontRegisterFpeFunctions and fails to start
Package: xprint
Version: 2:1.4.2-11
Severity: normal
Hi,
I've just installed xprint 2:1.4.2-11 and it fails to start:
# /etc/init.d/xprint start
/etc/init.d/xprint: Old server registry found, cleaning-up...
Stopping Xprint servers: Xprt.
Starting Xprint servers: Xprt.
No error message there, or in any log file that I can find, but there
is no Xprt process running. I try this:
# /usr/bin/Xprt :64
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/haiti:64
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
No matching visual for __GLcontextMode with visual class = 0 (32775), nplanes = 8
expected keysym, got XF86KbdLightOnOff: line 70 of pc
expected keysym, got XF86KbdBrightnessDown: line 71 of pc
expected keysym, got XF86KbdBrightnessUp: line 72 of pc
/usr/bin/Xprt: symbol lookup error: /usr/bin/Xprt: undefined symbol:
PrinterFontRegisterFpeFunctions
I believe the last error is the important one. As an aside, it would
be really great if the init.d script could not hide this error in
/dev/null, please; that wasted an hour.
Running nm -D on another machine suggests that perhaps the missing
PrinterFontRegisterFpeFunctions should be defined in
/usr/lib/libXfont.so.1:
# nm -D /usr/lib/libXfont.so.1 | grep PrinterFontRegisterFpeFunctions
0000d880 T PrinterFontRegisterFpeFunctions
That machine has libxfont1 version 1:1.3.3-1.
This machine where it doesn't work has libxfont1 version 1:1.4.0-1,
which seems to be the newest version, and the symbol is not defined:
# nm -D /usr/lib/libXfont.so.1 | grep PrinterFontRegisterFpeFunctions
#
So my guess is that the current libxfont1 is too new for the current
xprint and/or the current xprint is too old for the current libxfont1.
Any thoughts?
Phil.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.30-rc3
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Versions of packages xprint depends on:
ii libc6 2.9-8 GNU C Library: Shared libraries
ii libdbus-1-3 1.2.1-1 simple interprocess messaging syst
ii libfontenc1 1:1.0.1-6 X11 font encoding library
ii libfreetype6 2.3.7-1 FreeType 2 font engine, shared lib
ii libhal1 0.5.11-2 Hardware Abstraction Layer - share
ii libpixman-1-0 0.14.0-1 pixel-manipulation library for X a
ii libx11-6 2:1.2.1-1 X11 client-side library
ii libxau6 1:1.0.1-2 X11 authorisation library
ii libxdmcp6 1:1.0.1-2 X11 Display Manager Control Protoc
ii libxfont1 1:1.4.0-1 X11 font rasterisation library
ii xprint-common 2:1.4.2-11 Xprint - the X11 print system (con
ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime
Versions of packages xprint recommends:
ii xprint-utils 7.0.0+cvs20040414-4 utilities for Xprint, the X11 prin
-- no debconf information
Reply to: