Am 13.07.24 um 13:25 schrieb Marco van de Voort via lazarus:

Op 10-7-2024 om 12:59 schreef Arí Ricardo Ody via lazarus:

I'm trying to use SQLite with Lazarus on a Linux Mint. It is asking
for a module ¨libsqlite3.so¨ (without the quotes). I installed sqlite
on my linux with apt. I'm not finding ¨libsqlite3.so¨ anywhere on my
SSD, and I also couldn't figure out which directory I should put it
in if I found it. At most I can find a module ¨libsqlite3.so.0¨ in
the /usr/lib directory.

Would anyone help me, please?

An earlier reply of me got lost, probably something to do with sending
it while tethered to a phone.

Most of the database headers have a way of overriding names from code,
without recompiling FPC/Lazarus, this has been done to improve the
longevity of FPC releases if things change in some new linux
distribution(version)

Try to

-  include unit sqlite3dyn in your main (.lpr) program.


*Beware*:

[john1@manjaro ~]$
/run/media/john1/ntfs1/PROJEKTE/Lazarus/Laufdaten/GUI/laufdaten
Threading has been used before cthreads was initialized.
Make cthreads one of the first units in your uses clause.
Runtime error 211 at $0000000000435FDD
  $0000000000435FDD




- as the first line of your .lpr (or at least before the application.*
commands) add

tryinitializesqlite('libsqlite3.so.0');

Rinse, repeat, retry.


-- 
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to