WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: sqlite3: error while loading shared libraries: libreadline.so.7: cannot open  (Read 2753 times)

Offline theprof

  • Newbie
  • *
  • Posts: 2
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.
« Last Edit: October 20, 2020, 07:57:52 PM by theprof »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11591
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.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14799
updated extension posted - thanks for reporting this

Offline theprof

  • Newbie
  • *
  • Posts: 2
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

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1243
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.