Recent

Author Topic: sqlite 64 bits linux  (Read 6572 times)

franciscoluiz

  • New Member
  • *
  • Posts: 25
sqlite 64 bits linux
« on: May 25, 2017, 05:23:18 pm »
Can anyone help me how to do to find an sqlite library, for linux, 64bit?

Handoko

  • Hero Member
  • *****
  • Posts: 5131
  • My goal: build my own game engine using Lazarus
Re: sqlite 64 bits linux
« Reply #1 on: May 25, 2017, 05:32:00 pm »
I'm not good in database programming. Maybe you can try SQLdb:
http://wiki.freepascal.org/SQLdb_Package

Read more about database in Lazarus / Free Pascal:
http://wiki.freepascal.org/Databases

franciscoluiz

  • New Member
  • *
  • Posts: 25
Re: sqlite 64 bits linux
« Reply #2 on: May 25, 2017, 05:44:39 pm »
sqldb has components to access various types of databases, but anyway you need to have the libraries (.dll on windows or .so on linux) of each of those databases. And these libraries are compatible by operating system and architecture (32b or 64b)

sky_khan

  • Guest
Re: sqlite 64 bits linux
« Reply #3 on: May 25, 2017, 05:46:29 pm »
Which distribution ? SQLite is included in most distributions. You should prefer installing it by package manager. If it is not included then you may have to compile it yourself.

Handoko

  • Hero Member
  • *****
  • Posts: 5131
  • My goal: build my own game engine using Lazarus
Re: sqlite 64 bits linux
« Reply #4 on: May 25, 2017, 05:50:41 pm »
I think my Ubuntu Mate 64-bit has SQLite installed by default, I never manually install it, but I can run sqlite things.

Thaddy

  • Hero Member
  • *****
  • Posts: 14213
  • Probably until I exterminate Putin.
Re: sqlite 64 bits linux
« Reply #5 on: May 25, 2017, 06:37:01 pm »
For Debian and Debian derivatives like Ubuntu it is simply apt-get install sqlite3 and maybe apt-get install sqlite3-dev but as Handoko says, it is probably already installed because a lot of other standard software depends on it.
Specialize a type, not a var.

Handoko

  • Hero Member
  • *****
  • Posts: 5131
  • My goal: build my own game engine using Lazarus
Re: sqlite 64 bits linux
« Reply #6 on: May 25, 2017, 06:47:52 pm »
I checked my Ubuntu using Synaptic Package Manager. Currently sqlite-related installed things are libsqlite3-0 and libsqlite3-0:i386 only. The dev (development) packages are not installed.

GAN

  • Sr. Member
  • ****
  • Posts: 370
Re: sqlite 64 bits linux
« Reply #7 on: May 26, 2017, 12:13:40 am »
Lazarus 2.0.8 FPC 3.0.4 Linux Mint Mate 19.3
Zeos 7̶.̶2̶.̶6̶ 7.1.3a-stable - Sqlite 3.32.3 - LazReport

franciscoluiz

  • New Member
  • *
  • Posts: 25
Re: sqlite 64 bits linux
« Reply #8 on: May 26, 2017, 05:25:11 am »
hi gan... but in sqlite.org/download.html do not have the 64bits linux version of sqlite.

Thaddy

  • Hero Member
  • *****
  • Posts: 14213
  • Probably until I exterminate Putin.
Re: sqlite 64 bits linux
« Reply #9 on: May 26, 2017, 06:18:04 am »
I made a small mistake in the names, but you should look at Handoko's screenshot.
It should be apt-get install libslite3 libsqlite3-dev and this will install the 64 bit version on your linux if you have a 64 bit Linux automatically.
If it installs it is by very nature the 64 bit version. Don't get confused.
Specialize a type, not a var.

tatamata

  • Hero Member
  • *****
  • Posts: 787
    • ZMSQL - SQL enhanced in-memory database
Re: sqlite 64 bits linux
« Reply #10 on: June 15, 2017, 09:13:56 am »
Can anyone help me how to do to find an sqlite library, for linux, 64bit?
Hi, contrary to Windows, in Linux, always do use default package manager to install sqlite3.
Don't bother to distribute sqlite library in your app folder or something like that, because you will experience troubles and this is really not neccessary since each Linux distribution either has sqlite3 already installed by deafult or it is easy to install it by using deafult package manager.

 

TinyPortal © 2005-2018