Forum

× Components and Libraries for Database Development, discussions, problems and suggestions

Question Can not load DB-Lib client library "libsybdb.so". Check your installation.Succes

  • Guido
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 week 5 hours ago #12911 by Guido
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.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 week 28 minutes ago - 1 week 17 minutes ago #12912 by Sternas Stefanos
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.

CodeTyphon Architect and Programmer
Last edit: 1 week 17 minutes ago by Sternas Stefanos.

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

  • Guido
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
6 days 11 hours ago #12917 by Guido
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.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
6 days 10 hours ago - 6 days 10 hours ago #12918 by Sternas Stefanos
Thanks Sir
have fun...

CodeTyphon Architect and Programmer
Last edit: 6 days 10 hours ago by Sternas Stefanos.

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

More
6 days 9 hours ago - 6 days 9 hours ago #12919 by fredvs

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
Last edit: 6 days 9 hours ago by fredvs.

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