[Pkg-hpijs-devel] Bug#548379: hplip: Missing /usr/lib/libhpmud.so symlink causes network scanning to fail

Sander Marechal s.marechal at jejik.com
Fri Sep 25 22:01:45 UTC 2009


Package: hplip
Version: 3.9.4b-1
Severity: normal


I have a HP M1120n all-in-one printer/scanner directly connected to my network with an
ethernet cable. Printing works fine but scanning fails with an I/O
error. Scanning does work when connected to the USB. Syslog had the
following error message:

xsane: scan/sane/marvell.c 66: unable to load restricted library:
libhpmud.so: cannot open shared object file: No such file or directory

Searching the internet for that error led me here:
https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/380322

There's a symlink missing in the package. I issued the following command
and then scanning over the network worked fine:

/usr/lib# ln -s libhpmud.so.0.0.4 libhpmud.so

Please include that symlink in the package. See also this upstream bug
report:

https://answers.launchpad.net/hplip/+question/83698

Please note that I am running Debian Lenny with HPLIP from Debian Sid.

-- Package-specific info:
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.

HP Linux Imaging and Printing System (ver. 3.9.4b)
Dependency/Version Check Utility ver. 14.3

Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper         
dependencies are installed to successfully compile HPLIP.                                                                                                    
2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball   
has the proper dependencies installed to successfully run.                                                                                                   
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time dependencies).   

Saving output in log file: hp-check.log

Initializing. Please wait...

---------------
| SYSTEM INFO |
---------------

Basic system information:
Linux tweety 2.6.26-2-686 #1 SMP Fri Aug 14 01:27:18 UTC 2009 i686 GNU/Linux

Distribution:
debian 5.0.3

HPOJ running?
No, HPOJ is not running (OK).

Checking Python version...
OK, version 2.5.2 installed

Checking PyQt 4.x version...
OK, version 4.4.2 installed.

Checking for CUPS...
Status: scheduler is running
Version: 1.3.8
error_log is set to level: debug

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.82.4


------------------------
| RUNTIME DEPENDENCIES |
------------------------


Checking for dependency: CUPS - Common Unix Printing System...
OK, found.

Checking for dependency: CUPS DDK - CUPS driver development kit...
OK, found.

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.

Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
OK, found.

Checking for dependency: PolicyKit - Administrative policy framework...

Checking for dependency: ppdev - Parallel port support kernel module....
OK, found.

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...

Checking for dependency: Python ctypes - A foreign function library for Python...
OK, found.

Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.

Checking for dependency: Python XML libraries...
OK, found.

Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.

Checking for dependency: Reportlab - PDF library for Python...
OK, found.

Checking for dependency: SANE - Scanning library...
OK, found.

Checking for dependency: scanimage - Shell scanning program...
OK, found.

Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.


----------------------
| HPLIP INSTALLATION |
----------------------


Currently installed HPLIP version...
HPLIP 3.9.4b currently installed in '/usr/share/hplip'.

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.9.4b

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hpijs/HP
ppdbase=/usr/share/ppd/hpijs
doc=/usr/share/doc/hplip-doc/HTML
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
cups-ppd-install=no
cups-drv-install=yes
internal-tag=3.9.4b.10
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes


Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
eulaerror: 2 errors and/or warnings.
 = 1
installed = 1



Current contents of '~/.hplip/hplip.conf' file:
[last_used]
device_uri = hp:/net/HP_LaserJet_M1120n_MFP?ip=192.168.1.3

[installation]
version = 3.9.4b.10
date_time = 09/25/09 23:56:59



-------------------------------
| DISCOVERED PARALLEL DEVICES |
-------------------------------

No devices found.

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------


HP_LaserJet_M1120n_MFP
----------------------
Type: Printer
Device URI: hp:/net/HP_LaserJet_M1120n_MFP?ip=192.168.1.7
PPD: /etc/cups/ppd/HP_LaserJet_M1120n_MFP.ppd
PPD Description: HP LaserJet M1120n Foomatic/hpijs-ZJS (recommended)
Printer status: printer HP_LaserJet_M1120n_MFP is idle.  enabled since Thu 24 Sep 2009 12:38:04 PM CEST
Required plug-in status: Installed
Communication status: Good


----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...
device `hpaio:/net/HP_LaserJet_M1120n_MFP?ip=192.168.1.7' is a Hewlett-Packard HP_LaserJet_M1120n_MFP all-in-one


---------------------
| PYTHON EXTENSIONS |
---------------------

Checking 'cupsext' CUPS extension...
OK, found.

Checking 'pcardext' Photocard extension...
OK, found.

Checking 'hpmudext' I/O extension...
OK, found.

Checking 'scanext' SANE scanning extension...
OK, found.



---------------
| USER GROUPS |
---------------

sander adm dialout fax cdrom floppy tape audio dip video plugdev users lpadmin netdev powerdev scanner vboxusers


-----------
| SUMMARY |
-----------


Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html


Done.

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages hplip depends on:
ii  adduser                 3.110            add and remove users and groups
ii  coreutils               6.10-6           The GNU core utilities
ii  cups                    1.3.8-1+lenny6   Common UNIX Printing System(tm) - 
ii  hplip-data              3.9.4b-1         HP Linux Printing and Imaging - da
ii  libc6                   2.7-18           GNU C Library: Shared libraries
ii  libcups2                1.3.8-1+lenny6   Common UNIX Printing System(tm) - 
ii  libdbus-1-3             1.2.1-5+lenny1   simple interprocess messaging syst
ii  libsane                 1.0.19-23        API library for scanners
ii  libsnmp15               5.4.1~dfsg-12    SNMP (Simple Network Management Pr
ii  libssl0.9.8             0.9.8g-15+lenny5 SSL shared libraries
ii  libusb-0.1-4            2:0.1.12-13      userspace USB programming library
ii  lsb-base                3.2-20           Linux Standard Base 3.2 init scrip
ii  policykit               0.9-4            framework for managing administrat
ii  python                  2.5.2-3          An interactive high-level object-o
ii  python-dbus             0.82.4-2         simple interprocess messaging syst
ii  python-imaging          1.1.6-3          Python Imaging Library

Versions of packages hplip recommends:
ii  cups-client               1.3.8-1+lenny6 Common UNIX Printing System(tm) - 
ii  hpijs                     3.9.4b-1       HP Linux Printing and Imaging - gs
ii  sane-utils                1.0.19-23      API library for scanners -- utilit

Versions of packages hplip suggests:
pn  hplip-doc                <none>          (no description available)
pn  hplip-gui                <none>          (no description available)
pn  kdeprint | gtklp | xpp   <none>          (no description available)
ii  openprinting-ppds        20080211-2+nmu1 OpenPrinting printer support - Pos

-- no debconf information





More information about the Pkg-hpijs-devel mailing list