Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: theprof on October 20, 2020, 07:54:27 PM

Title: sqlite3: error while loading shared libraries: libreadline.so.7: cannot open
Post by: theprof on October 20, 2020, 07:54:27 PM
Hi all,

Installed the latest pi-Core-12.0 on my Raspberry Pi 1 b, and I am having trouble running sqlite3 after install. When I run the command

Code: [Select]
sqlite3 t.db
I get:

Code: [Select]
sqlite3: error while loading shared libraries: libreadline.so.7: cannot open shared object file: No such file or directory
I installed all the readline.tcz files using
Code: [Select]
tce-load -w -i readline-devetc but no change. I have noticed that in my local lib directories I have
Code: [Select]
/tmp/tcloop/readline/usr/local/lib/libreadline.so
/tmp/tcloop/readline/usr/local/lib/libreadline.so.8
/tmp/tcloop/readline/usr/local/lib/libreadline.so.8.0
so I'm assuming that the sqlite3.tcz needs to be rebuilt with the latest libraries? Or am I just running on a potato?

Thanks in advance for any info/help.
Title: Re: sqlite3: error while loading shared libraries: libreadline.so.7: cannot open
Post by: Rich on October 20, 2020, 08:24:18 PM
Hi theprof
Welcome to the forum.

... so I'm assuming that the sqlite3.tcz needs to be rebuilt with the latest libraries? ...
Either that, or you could revert to piCore-11 for now.
Title: Re: sqlite3: error while loading shared libraries: libreadline.so.7: cannot open
Post by: Juanito on October 22, 2020, 05:59:22 AM
updated extension posted - thanks for reporting this
Title: Re: sqlite3: error while loading shared libraries: libreadline.so.7: cannot open
Post by: theprof on October 22, 2020, 07:25:20 PM
No problem, but I'm afraid I get the same error for piCore-11 - so the same may have to be done for that release.

Thanks for looking at this, love what you do
Title: Re: sqlite3: error while loading shared libraries: libreadline.so.7: cannot open
Post by: Paul_123 on October 22, 2020, 07:50:13 PM
Version 11 was an interim release, to get pi4 support into piCore.   piCore12 already has much more dev time invested.

I would stick with 12.x.