Ubuntu 11.10 HPLiP drivers not working for Color Laserjet CM2320nf printer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
Fix Released
|
Undecided
|
goutam kodu | ||
eglibc (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
Drivers used to install for Ubuntu 11.04 from hplip-3.11.3 upwards. But it seems broken for hplip-3.11.10 and Ubuntu 11.10.
I realise support was only put in 11.10 Beta 2 in hplip-3.11.10. If a new version for 11.10 or statement update one when it is expected that would be great.
1. Your Linux Distribution and version.
Linux 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
2. Your printer make/model.
Color Laserjet CM2320nf
3. If possible, run 'hp-check -t' and post the output.
Included in attachment
4. A detailed explanation of your problem.
Using automatic install I cannot install the hplip-3.11.10 drivers in Ubuntu 11.10
5. Steps to recreate the problem.
Just perform automatic install on Ubuntu 11.10
I have included an attachment of the output of the commands run and also my hardware spec.
affects: | hplip (Ubuntu) → ubuntu |
Changed in ubuntu: | |
assignee: | nobody → Steve Langasek (vorlon) |
affects: | ubuntu → hplip (Ubuntu) |
Changed in eglibc (Ubuntu): | |
status: | Fix Committed → Triaged |
Hi Richard,
Thank you for the terminal output.
The problem with Ubuntu 11.10 x86_64 bit is that they dont have a softlink between /usr/lib64 to /usr/lib. Where as in previous versions of Ubuntu (10.10 & 11.04) x86_64 bit there was a softlink between them.
HPLIP installer copies the libhpmud.* file in the /usr/lib64 directory and when "import hpmudext " is called from the status.py file it tries to look for the library in /usr/lib/ directory by default and hence it reports ,
ImportError: libhpmud.so.0: cannot open shared object file: No such file or directory
/usr/lib64 path is not set in LD_LIBRARY_PATH (env variable) by default hence is ends up looking for the library in /usr/lib/ (Which is something OS has to take care)
You can launch a query about this to Ubuntu.
What is i can provide is only a work around.
Open terminal and type in the below command: PATH=$LD_ LIBRARY_ PATH:/usr/ lib64/"
"export LD_LIBRARY_
Next run the command : "hp-setup" and check if it imports the library libhpmud.so.0
This is a temporary solution . The environment variable LD_LIBRARY_PATH is set until the terminal in not closed. To have this variable permanently set you need to edit the file .bashrc present in your home folder ($HOME).
Go to you home directory ( $cd ~)
edit the file .bashrc ( $vim .bashrc)
enter the below lines at the end of the file and save it and close it
LD_LIBRARY_PATH = $LD_LIBRARY_ PATH:/usr/ lib64/
export LD_LIBRARY_PATH
After that restart your system and check running "hp-setup"
Let us know on the same,
Thanks,
Kodu