How hp-check verifies the dependency

Asked by Narendra Babu H.C.

Hi All,

I am a new user of the HPLIP.

We crosscompiled the HPLIP code for our target.
When we installed the binaries on our target the hp-check reports that "libusb, libpthread are missing"
During compilation we provided the path for libusb and there was no error during the compilation.
So please let us know how hp-check works for finding out dependency.
Will it check the installed folders or will it check a test application with the built binary to determine the dependency.

Thanks and Regards,
Narendra Babu H.C.

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Aaron Albright
Solved:
Last query:
Last reply:
Revision history for this message
Best Aaron Albright (albrigha-deactivatedaccount) said :
#1

It checks by the install path of the dependency. If the deps are installed in a non-standard area you might get an error that hp-check doesn't detect it. However this doesn't always mean that it wont work. If HPLIP is working correctly and as expected for you I wouldn't worry about the hp-check error.

Hope this helps.

Aaron

Revision history for this message
dwelch91 (dwelch91) said :
#2

hp-check checks for dependent libraries by searching the output of 'ldconfig
-p'

On Tue, Oct 7, 2008 at 4:09 AM, Narendra Babu H.C. <
<email address hidden>> wrote:

> New question #47351 on HPLIP:
> https://answers.launchpad.net/hplip/+question/47351
>
> Hi All,
>
> I am a new user of the HPLIP.
>
> We crosscompiled the HPLIP code for our target.
> When we installed the binaries on our target the hp-check reports that
> "libusb, libpthread are missing"
> During compilation we provided the path for libusb and there was no error
> during the compilation.
> So please let us know how hp-check works for finding out dependency.
> Will it check the installed folders or will it check a test application
> with the built binary to determine the dependency.
>
> Thanks and Regards,
> Narendra Babu H.C.
>
> --
> You received this question notification because you are a member of HP
> Linux Imaging and Printing, which is an answer contact for HPLIP.
>

Revision history for this message
Narendra Babu H.C. (narendra-babu) said :
#3

Hi Aaron,

Thanks for the quick reply.
It's a kind of manual installation. I will install the compiled
components first on a development machine to a specific folder.
Then I will move that specific folder to target machine and correct the
links. Please let me know if there is any problem with this procedure.

I further tried to debug it with cups error_log. Is there any such log
mechanism for HPLIP ?

It says that "prnt/backend/hp.c 675: INFO: open device failed; will
retry in 30 seconds"

Please let me know what device the backend is trying to open.

On my target system the printer will get detected as /dev/usb/lp0.

And when I say "cat file.txt > /dev/usb/lp0" , the printer prints the
contents of file.txt.

Thanks and Regards,
Narendra Babu H.C.

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of
Aaron Albright
Sent: Tuesday, October 07, 2008 10:40 PM
To: Babu HC, Narendra (GE Healthcare)
Subject: Re: [Question #47351]: How hp-check verifies the dependency

Your question #47351 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/47351

    Status: Open => Answered

Aaron Albright proposed the following answer:
It checks by the install path of the dependency. If the deps are
installed in a non-standard area you might get an error that hp-check
doesn't detect it. However this doesn't always mean that it wont work.
If HPLIP is working correctly and as expected for you I wouldn't worry
about the hp-check error.

Hope this helps.

Aaron

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/hplip/+question/47351/+confirm?answer_id=0

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/hplip/+question/47351

You received this question notification because you are a direct
subscriber of the q

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#4

Narendra,

I've seen that you've submitted several support tickets. If it's possible please email me more information about your system requirements, system you are wanting to implement HPLIP on, the number of units, the printer involved, the linux distro you are using, what company you work for (I think you work for a company?), how we can get a copy of the linux distro and the deadline you are wanting to meet.

My email is ke7ezt(at)gmail.com

If not the HPIJS solution should work better for an embedded system, however you will have printing functionality only.

http://hplipopensource.com/node/123

Thanks.

Aaron

Revision history for this message
Narendra Babu H.C. (narendra-babu) said :
#5

Thanks Aaron Albright, that solved my question.