jgedde / Allstar-Node-LCD

Use a adaFruit 2 line LCD kit with your Raspberry PI Allstar Node
GNU General Public License v3.0
5 stars 1 forks source link

error while loading shared libraries #1

Open bajabrett opened 1 year ago

bajabrett commented 1 year ago

Hello there, I have built the allstar node lcd and followed all the steps. Then when using ./aslLCD it comes back with the following message.

error while loading shared libraries: libiniparser.so.0: cannot open shared object file: No such file or directory

Any clues

Thanks.

jgedde commented 1 year ago

Hmmm.  Strange that should happen.  Try installing iniparser from the repository...JohnSent from my T-Mobile 5G Device -------- Original message --------From: bajabrett @.> Date: 5/18/23 9:10 AM (GMT-05:00) To: jgedde/Allstar-Node-LCD @.> Cc: Subscribed @.***> Subject: [jgedde/Allstar-Node-LCD] error while loading shared libraries (Issue #1) Hello there, I have built the allstar node lcd and followed all the steps. Then when using ./aslLCD it comes back with the following message. error while loading shared libraries: libiniparser.so.0: cannot open shared object file: No such file or directory Any clues Thanks.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

jgedde commented 1 year ago

I’ve confirmed the issue you have is caused by not having iniparser installed. I duplicated it on my end after uninstalling iniparser. My intent was to have that dependency built into ./aslLCD as a static library so the user could just install it and use it. Oh well.

Install it (if you’re using Arch Linux from HamVOIP) by executing the following at a shell prompt:

pacman -S iniparser

I will update the aslLCD instructions on github to include this package installation.

John

From: bajabrett @.> Sent: Thursday, May 18, 2023 9:10 AM To: jgedde/Allstar-Node-LCD @.> Cc: Subscribed @.***> Subject: [jgedde/Allstar-Node-LCD] error while loading shared libraries (Issue #1)

Hello there, I have built the allstar node lcd and followed all the steps. Then when using ./aslLCD it comes back with the following message.

error while loading shared libraries: libiniparser.so.0: cannot open shared object file: No such file or directory

Any clues

Thanks.

— Reply to this email directly, view it on GitHub https://github.com/jgedde/Allstar-Node-LCD/issues/1 , or unsubscribe https://github.com/notifications/unsubscribe-auth/A7AVE5Y4YRU7AWHDCP3ZYRDXGYNS7ANCNFSM6AAAAAAYGOGNOU . You are receiving this because you are subscribed to this thread. https://github.com/notifications/beacon/A7AVE5Z7CFKEYZQ67HUCGALXGYNS7A5CNFSM6AAAAAAYGOGNOWWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHGMQRWWU.gif Message ID: @. @.> >

bajabrett commented 1 year ago

Thanks John i installed the package all good. Now showing Unable to open I2C device: No such file or directory

Brett.

jgedde commented 1 year ago

Oh man. I forgot a whole important section in the manual. HamVOIP has i2c disabled by default… Thanks for helping me wring this out. Here’s how to fix it by enabling i2c:

  1. Optional: install i2c-tools. This can help with troubleshooting if you have trouble:

pacman -S i2c-tools

  1. Edit /boot/config.txt and add the following to the end:

device_tree_param=i2c_arm=on

  1. Edit /etc/modules-load.d/raspberrypi.conf and add the following to the end:

i2c-dev

Updated github again. Let me know how you make out.

John

From: bajabrett @.> Sent: Thursday, May 18, 2023 7:11 PM To: jgedde/Allstar-Node-LCD @.> Cc: jgedde @.>; Comment @.> Subject: Re: [jgedde/Allstar-Node-LCD] error while loading shared libraries (Issue #1)

Thanks John i installed the package all good. Now showing Unable to open I2C device: No such file or directory

Brett.

— Reply to this email directly, view it on GitHub https://github.com/jgedde/Allstar-Node-LCD/issues/1#issuecomment-1553768093 , or unsubscribe https://github.com/notifications/unsubscribe-auth/A7AVE54PCF4R2LFZRSJE6GTXG2UBXANCNFSM6AAAAAAYGOGNOU . You are receiving this because you commented. https://github.com/notifications/beacon/A7AVE52GKTMFNNKITSICANDXG2UBXA5CNFSM6AAAAAAYGOGNOWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTS4TSPJ2.gif Message ID: @. @.> >

bajabrett commented 1 year ago

No worries John thanks. I'll be the Beta tester lol

bajabrett commented 1 year ago

All good John Works like a charm. After setting up the i2c and checking using i2cdetect -y 1 it showed the lcd device being 0x20 changed the rc.local line by removing the # and rebooted and up it came. For anyone reading if you don't see anything on the screen accept for blue light adjust the contrast pot. Works great top job John.