Forum > Portuguese

Error connecting to Firebird 3, component TIBConnection AlmaLinux 9.1

<< < (2/3) > >>

Bogen85:

--- Quote from: automacaosamos on February 15, 2023, 11:48:12 pm ---installed via package downloaded from firebirdsql.org: Firebird-3.0.10.33601-0.amd64.tar.gz

--- End quote ---

so, as far as your firebird install goes, it is not an AlmaLinux 9.1 package issue.

automacaosamos:
sorry I did not understand...

Bogen85:

--- Quote from: automacaosamos on February 16, 2023, 12:10:46 am ---sorry I did not understand...

--- End quote ---

Because you went outside of package management to install it.


--- Quote from: Bogen85 on February 15, 2023, 11:50:40 pm ---
--- Quote from: automacaosamos on February 15, 2023, 11:48:12 pm ---installed via package downloaded from firebirdsql.org: Firebird-3.0.10.33601-0.amd64.tar.gz

--- End quote ---

so, as far as your firebird install goes, it is not an AlmaLinux 9.1 package issue.

--- End quote ---

The firebird client exists through normal package install methods on AlmaLinux 9.1


--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---$ dnf search libfbclientLast metadata expiration check: 0:00:12 ago on Wed 15 Feb 2023 05:13:54 PM CST.===================================================== Name Matched: libfbclient ======================================================libfbclient2.x86_64 : Firebird SQL server client librarylibfbclient2-devel.x86_64 : Development libraries and headers for Firebird SQL server $ dnf info libfbclient2Last metadata expiration check: 0:00:17 ago on Wed 15 Feb 2023 05:13:54 PM CST.Installed PackagesName         : libfbclient2Version      : 4.0.0.2496Release      : 2.el9Architecture : x86_64Size         : 3.2 MSource       : firebird-4.0.0.2496-2.el9.src.rpmRepository   : @SystemFrom repo    : epelSummary      : Firebird SQL server client libraryURL          : http://www.firebirdsql.org/License      : InterbaseDescription  : Shared client library for Firebird SQL server.             :             : Firebird is a relational database offering many ANSI SQL standard             : features that runs on Linux, Windows, and a variety of Unix platforms.             : Firebird offers excellent concurrency, high performance, and powerful             : language support for stored procedures and triggers. It has been used             : in production systems, under a variety of names, since 1981
But you went outside of regular package management and installed a non AlmaLinux 9.1 package your self (bypassing package management).

Which is why I said your firebird install is not an AlmaLinux 9.1 package issue, so you the issue you are running into is just a general Linux issue, not related to AlmaLinux 9.1.

Primarily saying this because many who might be able to look into a free pascal related on some distro might not interested into bypassing package management for their distro to help troubleshoot the problem on their own system.


automacaosamos:
Got it, I'll try via package management, thanks for the help.

korba812:

--- Quote from: automacaosamos on February 15, 2023, 09:53:51 pm ---Dear community, I am having problems trying to connect to firebird, I am using Lazarus V2.2.0 with the TIBConnection component, but when I connect it sends me the message:
Can not load default Firebird clients ("libfbclient.so.2.5.1" or "libgds.so" or "libfbembed.so.2.5"). Check your installation.

--- End quote ---
You should initialize the FireBird client library with appropriate library name.
Put this code at the beginning of your program (before connecting to the database):

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---InitialiseIBase60('/usr/lib64/libfbclient.so.3.0.10');and add "ibase60dyn" unit to "uses" section.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version