Firebird Libraries

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
User avatar
aperger
Expert Boarder
Expert Boarder
Posts: 129
Joined: 24.08.2005, 08:24
Location: Veszprém
Contact:

Firebird Libraries

Post by aperger »

Hi Developers,

I update to SVN revision 78. In the "ZPlainFirebird15" unit there are some changes:

Code: Select all

  WINDOWS_DLL_LOCATION   = 'fbclient15.dll';
  WINDOWS_DLL_LOCATION_EMBEDDED = 'fbclientd15.dll';
  LINUX_DLL_LOCATION   = 'libfbclient.so.15';
  LINUX_DLL_LOCATION_EMBEDDED = 'libfbembed.so.15';
  LINUX_IB_CRYPT_LOCATION = 'libcrypt.so.15';
I install the latest stable Firebird 1.5.3.4870 into my Fedora Linux Box and MS Windows Box, but these libraries are not exist:

Under linux there are "libfbclient.so" as a link to "libfbclient.so.1.5.3"
Under windows there is a 'fbclient.dll' in "C:\Program Files\Firebird\Firebird_1_5\bin"

Please go back to rev. 77 if there are no any reason to do this!!!!

Perger ATtila
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Hi Attilla,

These changes are made to enable the embedded server library as well. He did this the way we implemented it for mysql, but did probably not see how we handled the alternative dll filenames. Using simply lfbclient.dll has the disadvantage of not being able to use 2 different fb protocols on the same machine (and certainly not in the same program). I'll change it this way : First the versioned names will be checked, and if they do not exist the generic name will be used.
I hope you can live with that solution? BTW, it happens only once for each program run, so the overhead should be minimal.

Mark
Terence
Zeos Dev Team
Zeos Dev Team
Posts: 141
Joined: 22.09.2005, 14:11
Location: Stuttgart
Contact:

Post by Terence »

That is true, you have to rename the libs at the moment. For embedded you had on windows always to do also in mysql for both versions, so it doesn't seemed to strange to me to expect. But using espcape names makes sense, its just firebird drivers hadn't non strict dll loading before. Anyone who wants, else i do it.
fabian
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Just go on. You did the job well before, ideal time to finish...

Mark
User avatar
aperger
Expert Boarder
Expert Boarder
Posts: 129
Joined: 24.08.2005, 08:24
Location: Veszprém
Contact:

Post by aperger »

mdaems wrote:
I'll change it this way : First the versioned names will be checked, and if they do not exist the generic name will be used.

Mark
Thanx for the answer. If you can do this "duoble" loading it would be ok for me.... and most of the programmers(ZeOS users).
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

I hope it works with SVN version now. It compiles, but I don't use FB. I'm sure you will have the answer very soon.

Mark
Terence
Zeos Dev Team
Zeos Dev Team
Posts: 141
Joined: 22.09.2005, 14:11
Location: Stuttgart
Contact:

Post by Terence »

I added this strict dll loading compiler switch and exported WINDOWS2 Const defs to new unit called ZPlainFirebirdDriver. Did some code seperation, the fb driver class now also is in ZPlainFirebirdDriver, common used code of Firebird+Interbase residy in
"ZPlainFirebirdInterbaseConstants". Adapted use clauses and updated Zeos.inc.
Still to do: add the 2 new files to packages. I can do for delphi 7, but what about the other versions.


http://cforce.dnsalias.org/files/firebird3mysqllib.zip

zip also contains mysql5 lib dll (server lib) would you please add it also, copyrights as already discussed in former threads are no problem.
fabian
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Added to SVN testing branch. Will be in my next unofficial release.

Mark
Post Reply