Cannot install sqlite3 package lazarus / 1-Linux ---------------------------------------------------------------------- GuiGuy · 2006-12-16 04:59 Hi, I'm an experienced Delphi developer coming from Windows to Linux (Ubuntu 6.10) I would like to use the Sqlite3 db engine but am unable to install the required packages into Lazarus When I attempt the package "sqlite3laz.lpk" install it fails on linking, ld complaining that it cannot find -lsqlite3: Quote "Compile IDE (without linking)" completed /usr/bin/ld: cannot find -lsqlite3 /usr/lib/lazarus/ide/lazarus.pp(117,1) Error: Error while linking make[2]: *** [lazarus] Error 1 http://wiki.lazarus.freepascal.org/Lazarus_Database_Tutorial states I require "sqlite runtime library 3.2.1 or above (get from www.sqlite.org)" and that it must be in the path. OK, since I need to guess what the runtime library might be called I took a stab at "sqlite-3.3.8.so" - Can someone confirm that that is what is needed? Incidentally, Sqlite3 is definitely installed in the PC. I have also edited "ld.so.conf" and added the /usr/lib which is the directory where I have placed sqlite-3.3.8.so But it's not working. Clearly I am missing something in the instructions. Any help, anyone? TIA The GUIGuy. ---------------------------------------------------------------------- Kknd · 2006-12-23 15:23 You need to install the sqlite lib. On Debian-like you can apt-get it! ---------------------------------------------------------------------- pfranchuk · 2006-12-23 15:43 You are probably right about the name of the .so package. But Lazarus is looking for another name. Check the FAQ's I believe you will see that you need to create a symbolic link in /usr/lib to get Lazarus to find the library. ---------------------------------------------------------------------- GuiGuy · 2006-12-23 23:13 Quote from: "pfranchuk"You are probably right about the name of the .so package. But Lazarus is looking for another name. Check the FAQ's I believe you will see that you need to create a symbolic link in /usr/lib to get Lazarus to find the library. That would probably be "lsqlite3" (?) Anyway, doesn't matter for now. Too much other nonsense happening at this tome of the year. I'll have another go when time permits. BTW, one of the things I am noticing about dev tools under linux is that documentation is not a strong point. I've been a bit spoiled over the last few years using Developer Express and similar. All the best The GuiGuy ---------------------------------------------------------------------- pfranchuk · 2006-12-24 00:55 Something like that. You would do a symbolic link to libsqlite3.so and the libsqlite-3.x.x.so that you have in the /usr/lib Peter ---------------------------------------------------------------------- bkv · 2007-04-24 20:03 Quote from: "pfranchuk"Something like that. You would do a symbolic link to libsqlite3.so and the libsqlite-3.x.x.so that you have in the /usr/lib Peter I too cannot get Lazarus built with  sqlite. I tried with some symbolic links, but it did not work. Does someone know what this link should be called? Or is it something else missing.? I'm on Kubuntu Dapper and I have installedthe sqlite package ---------------------------------------------------------------------- bwinfrey · 2008-01-11 22:15 None of the posted resolutions worked for me; however, this did. sudo apt-get install libsqlite3-dev ---------------------------------------------------------------------- Awesome Programmer · 2016-03-23 03:51 Quote from: bwinfrey on January 11, 2008, 11:15:33 pmNone of the posted resolutions worked for me; however, this did. sudo apt-get install libsqlite3-dev This worked for me instantly .... I didn't even have to separately install the design package for sqlite.... thank you. ---------------------------------------------------------------------- cdbc · 2016-03-23 07:02 Hi My install looks like this: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i lrwxrwxrwx 1 root root     19 nov 13 14:52 /usr/lib/libsqlite3.so -> libsqlite3.so.0.8.6*meaning you have to create a symlink in /usr/lib: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i sudo ln -s sqlite-3.3.8.so libsqlite3.soShould work, but maybe you have to fiddle a bit with it  Hth - Regards Benny ---------------------------------------------------------------------- C#R# · 2016-08-19 18:27 instaling a dev package works fine, but the application need this package to work, tink about this when you go to distribute your app  :| ---------------------------------------------------------------------- LuizAmérico · 2016-08-19 22:18 The compiled program will not need the dev package, which is only required to compile