Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-21-2011, 10:02 PM   #1
Registered: Feb 2011
Location: Osaka, Japan
Distribution: Gentoo, Opensuse
Posts: 264

Rep: Reputation: 5
hplip source make error

Anyone know how I can resolve this?

libtool: install: error: cannot install `' to a directory not ending in /usr/local/lib64/python2.7/site-packages
make[1]: *** [install-hpmudextLTLIBRARIES] Error 1
make[1]: Leaving directory `/bigdrive/working/Source/hplip-3.11.5'
make: *** [install-am] Error 2
have no problems.

Last edited by Adol; 05-21-2011 at 10:04 PM.
Old 05-21-2011, 11:23 PM   #2
Registered: Feb 2011
Location: Osaka, Japan
Distribution: Gentoo, Opensuse
Posts: 264

Original Poster
Rep: Reputation: 5

I got hplip to compile and install by changing pointing it to the location of python.

Now I have another problem with it

I was able to start the hp-setup with
Then I realized I don't have the drivers installed(which are given by cups).

I install cups with no problems and try hp-setup again only to get this error now:

Traceback (most recent call last):
  File "/usr/bin/hp-setup", line 45, in <module>
    from base import device, utils, tui, models, module
  File "/usr/share/hplip/base/", line 39, in <module>
    import status
  File "/usr/share/hplip/base/", line 45, in <module>
    import hpmudext
ImportError: /usr/lib64/python2.7/site-packages/ undefined symbol: hpmud_make_mdns_uri
Any ideas?
Old 08-13-2011, 06:04 AM   #3
LQ Newbie
Registered: Aug 2011
Posts: 1

Rep: Reputation: Disabled
I had the same problem.
It was caused by an old from a previous "make install" in a different location
(probably compiled without libsnmp-dev installed, as that would cause the missing symbol)

Any way I found the offending library using "strace" on hp-setup

I removed it and few other guilty leftovers, the printer now works as it should on my ARM based NAS...

Unfortunately I still have some issues with the scanner support as seems to be using a closed source plug-in
(Intel i386 binary code gives my poor ARM based NAS a headache)
1 members found this post helpful.
Old 11-18-2011, 03:07 PM   #4
LQ Newbie
Registered: Jan 2009
Posts: 8

Rep: Reputation: 1
I have Ubuntu 10.04 and was having the same problem with hp-setup after installing the hplip downloaded from the hp website. I was installing hplip because Simple Scan and `lsusb` were not detecting my hp officejet printer/scanner. All was fixed by the following steps:

1. Uninstall the hplip installed from the hp website by entering `sudo make uninstall` and then `make clean` in the hp directory.
2. Install hplip and hplip-cups using System>Administration>Synaptic Package Manager. In my case, before clicking 'Apply' in the package manager, I had to go to Settings>Repositories and uncheck 'Cdrom with Ubuntu 10.04' in the 'Installable from CD-ROM/DVD' box at the bottom in order for the necessary packages to be downloaded.
3. Run `hp-check -r`
4. In my case, the output said that the user 'root' needed to be in the 'lp' and 'lp-admin' groups so I used `usermod -G group-name user-name` to add 'root' to those groups.

Last edited by lqv; 11-18-2011 at 05:04 PM.
1 members found this post helpful.
Old 02-02-2014, 04:06 PM   #5
Senior Member
Registered: Jan 2009
Location: Austin, TX
Distribution: Mint-17.3 with Cinnamon & KDE
Posts: 1,598
Blog Entries: 3

Rep: Reputation: 105Reputation: 105
I had these and similar trouble during an install of Linux Mint-16 KDE.

All sorts of troubles and struggles cleared when I added my login username to both groups lp and lpadmin.

I did complete removal of all things 'hplip' and dependencies.
Then, having the two groups assigned, repeated the build and install.

No more troubles,
~~~ 0;-Dan


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
HPlip woes on --current ; Sharing printer gets broken if the hplip gui is launched Old_Fogie Slackware 2 10-28-2010 11:23 AM
odd error with make, and its a source i have compiled many times with no error bensington butters Programming 1 07-01-2008 11:19 AM
Compiling hplip source code. hscast Linux - Software 4 06-16-2006 08:36 PM
make: [all-recursive] Error 1 HPLIP kevinens Linux - Software 1 05-11-2006 02:39 PM
Compile Tk from source: make error diego_cn Linux - Software 5 04-11-2006 07:46 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:28 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration