installation issue on 64bit kernel

Asked by Klaus Breining

I am working on Ubuntu 11.10, 64bit
I followed the complete installation procedure including the build of source code starting at:
http://hplipopensource.com/hplip-web/install/manual/distros/ubuntu.html

In step 4 I followed the path for version >10.04, 64bit.

Now I am on configuring using CUPS or even calling scripts like hp-makeuri. They all end up with:

File "/usr/bin/hp-makeuri", line 37, in <module>
    from base import device, utils, 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

The file is present in /usr/lib64. It is a link to libhpmud.so.0.0.6.
Just to be sure, I also added /usr/lib64 in
/etc/ld.so.conf.d/.conf

No change - the scripts don't find these shared libraries. Any ideas what's going wrong?

Klaus

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Sanjay Kumar
Solved:
Last query:
Last reply:
Revision history for this message
Best Sanjay Kumar (sanjay-kumar14) said :
#1

Hi Klaus,

Thanks for reporting the issue. In Ubuntu 64bit machine there used to be a softlink between /usr/lib64 and /usr/lib , which is now removed in ubuntu 11.10 for some reasons. We will provide the solution for this issue in the next release. However to fix this issue for you, please do the following things.

1) Remove all the print queues by runing "system-config-printer" command.
2) Copy All files from /usr/lib64 to /usr/lib (PLease maintain same dirctory structure)
   e.g (sudo cp -r /usr/lib64/* /usr/lib)
3) RUN "sudo hp-plugin" command to install plugin.(optional step only for plugin printers)
4) RUN "hp-setup" and install print queue and the try print.

Thanks,
Sanjay

Revision history for this message
Klaus Breining (klaus-breining) said :
#2

perfect - worked immediately.