Recent

Author Topic: [SOLVED] Error Running Firebird 3 on Lazarus 2.0 linux  (Read 790 times)

incendio

  • Jr. Member
  • **
  • Posts: 92
[SOLVED] Error Running Firebird 3 on Lazarus 2.0 linux
« on: April 01, 2019, 10:42:13 am »
Hi guys,

I got error message when run app with Firebird 3 database on Lazarus 2.0 on Mint 19.
It seem that Lazarus couldn't find firebird installation.

With flamerobin, running firebird 3 has no problem.

Attached the error message from Lazarus and firebird version from flamerobin.

Please help how to solve this problem. Thanks in advance.
« Last Edit: April 02, 2019, 05:03:29 am by incendio »

dogriz

  • Full Member
  • ***
  • Posts: 105
    • Tech blog - Delphi, Lazarus, Firebird, Windows, Linux, Android...
Re: Error Running Firebird 3 on Lazarus 2.0 linux
« Reply #1 on: April 01, 2019, 03:44:17 pm »
Code: [Select]
$ sudo ln -s /usr/lib/x86_64-linux-gnu/libfbclient.so.3.0.2 /usr/lib/x86_64-linux-gnu/libfbclient.so.2.5.1
FPC 3.0.4
Lazarus 2.0.2
Debian x86_64, arm

mig-31

  • Sr. Member
  • ****
  • Posts: 260
Re: Error Running Firebird 3 on Lazarus 2.0 linux
« Reply #2 on: April 01, 2019, 03:48:27 pm »
If you have installed libfbclient or lib64fbclient package, you need to create a symbol link to libfbclient.so.x.x, which provided by your distribution
Lazarus 2.0.2 - CentOS 7.x, Mageia 7.1

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7510
Re: Error Running Firebird 3 on Lazarus 2.0 linux
« Reply #3 on: April 01, 2019, 07:35:49 pm »
If you want to development, install the corresponding -dev or -devel package, which should create the symlink

incendio

  • Jr. Member
  • **
  • Posts: 92
Re: Error Running Firebird 3 on Lazarus 2.0 linux
« Reply #4 on: April 02, 2019, 05:03:12 am »
Thanks for all help  :D

Code: [Select]
$ sudo ln -s /usr/lib/x86_64-linux-gnu/libfbclient.so.3.0.2 /usr/lib/x86_64-linux-gnu/libfbclient.so.2.5.1

That command give an error : command not found

I fix with this command
Code: Pascal  [Select]
  1. sudo ln /usr/lib/x86_64-linux-gnu/libfbclient.so.2 /usr/lib/x86_64-linux-gnu/libfbclient.so

Now worked OK.