Comment 19 for bug 877793

Revision history for this message
R.Srinivasan (srini-vassan) wrote :

I tried the solution mentioned in the answers (hplip 3.11.10 with Ubuntu 11.10 x64 and HP 6500 HPLIP Questions Question #174891). My printer P1007 worked. The steps are below. I don't know which one solved the problem.

Initially the hpmudext problem came.

  File "/usr/bin/hp-setup", line 45, in <module>
    from base import device, utils, tui, models, module
  File "/usr/share/hplip/base/device.py", line 39, in <module>
    import status
  File "/usr/share/hplip/base/status.py", line 45, in <module>
    import hpmudext
ImportError: libhpmud.so.0: cannot open shared object file: No such file or directory

In my machine i was having Python 2.6 and 2.7. I tried to give the simulink for this file from 2.6 -- 2.7 folder. This file ( libhpmud.so) was only available in Python 2.7. That did not worked. I removed the Phython 2.6 version altogether. Complete removal including gwibber which was using this version.

Then open terminal and typed in the below command:
"export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib64/"

Also created the file .bashrc ( it was not there)
enter the below lines

LD_LIBRARY_PATH = $LD_LIBRARY_PATH:/usr/lib64/
export LD_LIBRARY_PATH

Also created one more file as mentioned below.

goutamkk (goutam-hplip) said on 2011-10-23: #19

Hi Pavel and Thomaz

1. Enter the folder /etc/ld.so.conf.d/
    $ cd /etc/ld.so.conf.d/

2. create a "conf" file by name "lib64.conf".
    $vim lib64.conf

3. Add the line /usr/lib64/ in the file lib64.conf

4. Run command "sudo ldconfig" to load the libraries.

5. Next run commad "hp-setup -g" and check whether you are able to setup your device. And post me the terminal output of this command.

Sorry for inconvenience.

Thanks & Regards,
Goutam Kodu

then tried the hp-setup -g

it was poping up an window asking to select the device. Selected USB device and continued the questions. Finally got installed properly using HPLIP 3.11.10.

Thanks for the support from Ubuntu people.

R.Srinivasan.