Welcome, Guest
Username: Password: Remember me
Components and Libraries for Database Development, discussions, problems and suggestions
  • Page:
  • 1

TOPIC:

Can not load DB-Lib client library "libsybdb.so". Check your installation.Succes 5 years 4 months ago #12911

  • Guido
  • Guido's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 3
  • Thank you received: 0
I am trying to connect to ms sql server, on CT installed on Linux Mint 19 Tara
But I keep getting this error in the IDE
Can not load DB-Lib client library "libsybdb.so". Check your installation.
Success

This is very annoying it seems this lib is for sybase, i am trying to connect to ms sql server
I am getting this from the IDE so I DO NOT WANT runtime solutions, I want this working in the IDE

If I am to switch from Delphi to CT than it should be working off course
CF version 6.6
FPC 3.3.1
SVN Revision 59272
X86_64-linus.gtk2

Please Log in or Create an account to join the conversation.

Can not load DB-Lib client library "libsybdb.so". Check your installation.Succes 5 years 4 months ago #12912

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4508
  • Thank you received: 1100
Sir
1) Linux is NOT Windows

2) On Unix CodeTyphon connect to MS SQL and Sybase Databases
with FreeTDS .
No client drivers exists from MS for MS SQL Database for UNIX.

3) Mint-Linux is a good look Linux Distribution based on Debian or Ubuntu.

4) On Debian libsybdb.so library of FreeTDS project exist in Debian package freetds-dev info and you can install it with command
su
apt-get install freetds-dev

5) On Fedora libsybdb.so library of FreeTDS project exist in Fedora 29 package freetds-devel info and you can install it with command
su
dnf install freetds-devel

6) On FreeBSD libsybdb.so library of FreeTDS project exist in package freetds-devel and you can install it with command
su
pkg install freetds-devel

7) On Linux Mint freetds-dev or freetds packages NOT exists (search here )

So, my surjection is if you don't find libsybdb.so library for your Linux OS
don't switch from Windows-Delphi to Linux-CodeTyphon OR
simple change your Linux Distribution.

Database programming at MS SQL Server Level request a Linux Distribution with the same level.
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Can not load DB-Lib client library "libsybdb.so". Check your installation.Succes 5 years 4 months ago #12917

  • Guido
  • Guido's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 3
  • Thank you received: 0
Sir,

1) Who said anything about windows ? What do you mean by this remark ?
2) I am not on unix, but on linux. Linux is NOT unix.
3) ok I guess
4) 5) 6) 7) The install command for debian seems to have solved this problem.

PS, MS SQL server is installed and running on that same Mint Linux. Not in docker, but the linux ubuntu version from microsoft.
I need to create a version of the Delphi client that will run on linux, so that is why i choose for CT. If this works out than the Delphi version on windows will also be replaced by the CT version.
I cannot simply switch linux distribution. I guess that was a joke...

Anyway, thank you for your help.

Please Log in or Create an account to join the conversation.

Can not load DB-Lib client library "libsybdb.so". Check your installation.Succes 5 years 4 months ago #12918

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4508
  • Thank you received: 1100
Thanks Sir
have fun...
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Can not load DB-Lib client library "libsybdb.so". Check your installation.Succes 5 years 4 months ago #12919

  • fredvs
  • fredvs's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 205
  • Thank you received: 1

2) I am not on unix, but on linux. Linux is NOT unix.

Linux is a OS based on Unix.

I cannot simply switch linux distribution. I guess that was a joke...

It is not a joke, Sternas is right, it is better to use a "parent" distro like Debian 9.5.
If you want something professional, dont use "child" distro like Mint or Ubuntu.


Fre;D

Please Log in or Create an account to join the conversation.

Last edit: by fredvs.
  • Page:
  • 1