Welcome, Guest
Username: Password: Remember me
CodeTyphon MS Windows (Win7, Win8.x, Win10 and Win11) OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

Error 'dblib.dll found but not be loaded. check the compile-target ecc... ecc..' 4 years 11 months ago #14105

  • superc
  • superc's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 75
  • Thank you received: 0
Hello,

my configuration:

Typhon 6.9 r61812 FPC 3.3.1 r42912 Platform : x86_64-win64-win32/win64

I've develop an application can connect without problem to Sqlserver 2014:
I use Zeos with protocol 'FreeTDS_MsSQL>=2005' and I set library location with current executable directory, and works fine:
I downloaded from 'www.freetds.org/software.html' the precompiled dll 1.1.21 of Freetds.

From another pc in production I copied executable and all directory and run program but receive this error:
'Client-Library .....dblib.dll' found but could not be loaded. Check compile-target and library compatibility'....
I'm using the same library, the pc is the same Windows 10 64 Bit and I installed codetyphon 6.90 in this machine and I try to recompile,
but nothing of nothing... same error...


I'm really frustrated...

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

Error 'dblib.dll found but not be loaded. check the compile-target ecc... ecc..' 4 years 11 months ago #14106

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
I think the problem is in FreeTDS library registration or security permissions
PilotLogic Architect and Core Programmer

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

Error 'dblib.dll found but not be loaded. check the compile-target ecc... ecc..' 4 years 11 months ago #14107

  • superc
  • superc's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 75
  • Thank you received: 0
the dlls are in the executable directory,
I can't understand what the problem is....

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

Error 'dblib.dll found but not be loaded. check the compile-target ecc... ecc..' 4 years 11 months ago #14108

  • superc
  • superc's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 75
  • Thank you received: 0
But, in production pc with Codetyphon 32 bit, Freetds 32 bit dll, program works fine.....
On my pc both version works well, but if i move 64 bit dll from my pc to production pc I receive the error....
It's very strange error.

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

Error 'dblib.dll found but not be loaded. check the compile-target ecc... ecc..' 4 years 11 months ago #14109

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Yes, it's very strange error
PilotLogic Architect and Core Programmer

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

Error 'dblib.dll found but not be loaded. check the compile-target ecc... ecc..' 4 years 11 months ago #14110

  • superc
  • superc's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 75
  • Thank you received: 0
ok, I can't afford such behavior in production programs, what kind of connection could I use alternatively?
I have seen that the zeos 7.3 support the ado, odbc, my target database is sql server 2014...
Thanks in advance.

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

Error 'dblib.dll found but not be loaded. check the compile-target ecc... ecc..' 4 years 11 months ago #14111

  • superc
  • superc's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 75
  • Thank you received: 0
I have resolved this problem!!!!!


With the walker dependency I saw the missing dependency ie the MSVCR100.DLL present in Microsoft visual C ++ 2019 Red Pack x64; installed this package and the program work..

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

Error 'dblib.dll found but not be loaded. check the compile-target ecc... ecc..' 4 years 11 months ago #14112

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Have fun...
PilotLogic Architect and Core Programmer

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

Error 'dblib.dll found but not be loaded. check the compile-target ecc... ecc..' 1 year 1 month ago #18068

  • Guido
  • Guido's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 16
  • Thank you received: 0
I have searched the site of freetds.org but cannot find any dblib.dll, where exact did you find it ?

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

Error 'dblib.dll found but not be loaded. check the compile-target ecc... ecc..' 1 year 1 month ago #18072

  • LuZZZZi
  • LuZZZZi's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 81
  • Thank you received: 1
You can download the binaries here: sourceforge.net/projects/zeoslib/files/3rd%20party/FreeTDS/

Cheers

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

  • Page:
  • 1