Skip to content

SQLDB ibase60.inc Can not load default Firebird clients ("libfbclient.so.2.5.1"..

Summary

System Information

  • Operating system: Linux (at least Ubuntu but likely Debian based distros also)
  • Processor architecture: all

Steps to reproduce

Create a new project in Lazarus, add IBConnection, SQLTransaction and SQLQuery and set necessary properties. Setup a computer with Ubuntu (or similar distro) and install firebird driver with:

sudo apt install libfbclient2 or sudo apt install firebird-server

Compile the program and copy it to a Computer with fresh installed Ubuntu

Start a program. You will get the error message: Can not load default Firebird clients ("libfbclient.so.2.5.1" or "libgds.so" or "libfbembed.so.2.5"). Check your installation.

There is no libfbclient.so.2.5.1 but a link "libfbclient.so.2" to libfbclient.so.3.x.x in Ubuntu. Debian? Other distros?

Relevant logs and/or screenshots

Bildschirmfoto_2023-11-03_13-25-07.png

Possible fixes

Change fbclib = fbclib251; to fbclib = fbclib2; in ibase60.inc

ibase60.inc.patch

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information