michaelrsweet / pappl

PAPPL - Printer Application Framework
https://www.msweet.org/pappl
Apache License 2.0
309 stars 49 forks source link

libpappl.so.1 - error while loading shared libraries #190

Closed jrperk closed 2 years ago

jrperk commented 2 years ago

I am trying to get lprint up and running on a raspberry pi 400 with Buster. I loaded all the dependencies and I compiled the latest release from source. I didn't see any errors in any of the installations:

When I run lprint from the command line, I get: lprint: error while loading shared libraries: libpappl.so.1: cannot open shared object file: No such file or directory.

I apologize if this is the wrong place for this issue. I couldn't find anything like it in a google search.

michaelrsweet commented 2 years ago

@jrperk Try running "ldconfig" to refresh the shared library cache...

jrperk commented 2 years ago

OK, that got me further. I am trying to add a printer with: lprint add -d KIOSK_DYMO -v usb://DYMO/LabelWriter%20450?serial=01010112345600 -m dymo_lw-450 -o label-mode-configured=”tear-off” The response is: lprint: Sub-command 'add' does not accept files.

I appreciate your work and your help.

On Tue, Dec 21, 2021 at 10:30 AM Michael R Sweet @.***> wrote:

@jrperk https://github.com/jrperk Try running "ldconfig" to refresh the shared library cache...

— Reply to this email directly, view it on GitHub https://github.com/michaelrsweet/lprint/issues/46#issuecomment-998922532, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATYJTJ2MFESKOV6OOYBDIC3USCTS7ANCNFSM5KQLQGJA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

-- James Randall (Randy) Perkins

michaelrsweet commented 2 years ago

@jrperk Hmm, I just tried that command (replacing the USB URI with one of my own local printers) and it just worked.

Just to confirm, what version of PAPPL are you using?

jrperk commented 2 years ago

pappl-1.1.0.tar.gz

Compiled it locally.

On Tue, Dec 21, 2021, 7:13 PM Michael R Sweet @.***> wrote:

@jrperk https://github.com/jrperk Hmm, I just tried that command (replacing the USB URI with one of my own local printers) and it just worked.

Just to confirm, what version of PAPPL are you using?

— Reply to this email directly, view it on GitHub https://github.com/michaelrsweet/lprint/issues/46#issuecomment-999205196, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATYJTJZBPI7ME52ZTVSIVITUSEQ2LANCNFSM5KQLQGJA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

michaelrsweet commented 2 years ago

OK, well aside from adding an ldconfig call to the install target for PAPPL, I'm not sure there is anything else I can do to help at this point - I can't reproduce... :(

jrperk commented 2 years ago

The leconfig was correct. It got me past the first error. The second error came up later. I will re-image and try again. I kept pretty good step by step notes. I will watch for errors again as I install everything.

On Tue, Dec 21, 2021, 7:37 PM Michael R Sweet @.***> wrote:

OK, well aside from adding an ldconfig call to the install target for PAPPL, I'm not sure there is anything else I can do to help at this point - I can't reproduce... :(

— Reply to this email directly, view it on GitHub https://github.com/michaelrsweet/pappl/issues/190#issuecomment-999215074, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATYJTJ2MOWGQD4K2AUINCI3USETUVANCNFSM5KROMFKA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

jrperk commented 2 years ago

I went through the install more carefully and there was a python reference to virtualenv. I added the /home/pi/.local/bin to the PATH and it got me past the second error.

export PATH=”/home/pi/.local/bin:$PATH” Gotta Love Linux!

On Tue, Dec 21, 2021 at 7:37 PM Michael R Sweet @.***> wrote:

OK, well aside from adding an ldconfig call to the install target for PAPPL, I'm not sure there is anything else I can do to help at this point - I can't reproduce... :(

— Reply to this email directly, view it on GitHub https://github.com/michaelrsweet/pappl/issues/190#issuecomment-999215074, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATYJTJ2MOWGQD4K2AUINCI3USETUVANCNFSM5KROMFKA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

-- James Randall (Randy) Perkins