Lazarus/Linux: Connect to SQLServer using ZeosLib component TZConnection

PHOTO EMBED

Sun Aug 28 2022 11:58:58 GMT+0000 (UTC)

Saved by @marcopinero #bash

$> sudo apt-get install freetds-bin

#At Lazarus:
#Put TZConnection component (ZConnection1) and set LibraryLocation as shown:

#  ZConnect1.LibraryLocation:=libsybdb.so.5;

#  and we're done!
content_copyCOPY

I needed to connect to SQL Server from Lazarus and the fastest way I got was by using ZeosLib component (lazarus version). Then I realized that this additional pass must be done. I hope it helps.