Recent

Author Topic: Error installing zeos components  (Read 3675 times)

gelinp

  • Full Member
  • ***
  • Posts: 116
Error installing zeos components
« on: November 02, 2015, 07:09:24 pm »
Hi,

Installing zeos zcomponent v7.2 component,  I've got the error message (in french) :

ZDbcAdo.pas(136,21) Fatal: Impossible de trouver l'unité ZDbcAdoMetaData utilisé par ZDbcAdo du paquet zdbc.

I don't understand because Lazarus show me zdpc component is already installed... May be Lazarus need to recompile and link one more time. Also zdbc compile withour any problem, but I can't desinstall it because of the same problem...

So what is the problem and where do I find ZDbcAdoMetaData unit ?

My configuration is Linux Debian Jessie, and Lazarus 1.4.4 with FPC 2.6.4

Thank you for your help !
My configuration is : Lazarus 1.6+dfsg-1 / FPC 3.0.0 / Debian Mint / x86_64-linux-gtk2

miab3

  • Full Member
  • ***
  • Posts: 145
Re: Error installing zeos components
« Reply #1 on: November 02, 2015, 08:17:25 pm »
ADO is possible only in the Windows 32/64.
In Linux to connect by ZEOS to MSSQL, you can use freetds.

Michal
« Last Edit: November 02, 2015, 08:21:35 pm by miab3 »

gelinp

  • Full Member
  • ***
  • Posts: 116
Re: Error installing zeos components
« Reply #2 on: November 03, 2015, 07:04:57 am »
Finaly Zeos run under linux. But I had to compil starting lazarus with kdesudo, because of lazarus installation under /usr/... root only directory. :)
My configuration is : Lazarus 1.6+dfsg-1 / FPC 3.0.0 / Debian Mint / x86_64-linux-gtk2

mangakissa

  • Hero Member
  • *****
  • Posts: 1131
Re: Error installing zeos components
« Reply #3 on: November 04, 2015, 08:58:30 am »
Why install in this directory? Are there more people who works with the same linux server.
Lazarus 2.06 (64b) / FPC 3.0.4 / Windows 10
stucked on Delphi 10.3.1

gelinp

  • Full Member
  • ***
  • Posts: 116
Re: Error installing zeos components
« Reply #4 on: November 04, 2015, 02:51:01 pm »
I don't remember how I installed lazarus, may be it was a debian package and I couldn't choose the location... I suppose I din't choose this repository, because I Install often tiers applications into /opt directory.
My configuration is : Lazarus 1.6+dfsg-1 / FPC 3.0.0 / Debian Mint / x86_64-linux-gtk2

gelinp

  • Full Member
  • ***
  • Posts: 116
Re: Error installing zeos components
« Reply #5 on: November 11, 2015, 09:14:52 am »
What is ADO exactly ? A framework used by zeos to connect databases ? Do I need to install a specific ADO package in order to compil zeos for windows target (there is no ADO files into zeos/lib directory) ?

What to do if would like to use freetds ? For Freetds I can read into readme file into zeos/lib directory :

Code: Pascal  [Select][+][-]
  1. All Lazarus controls assume all strings are UTF8Encoded which the MsSQL Servers do not understand.
  2. So we need a compiled FreeTDS version with libiconv2.dll
  3. Downloadlink: ftp://ftp.freepascal.org/fpc/contrib/windows/
  4. Use TZConnection.LibraryLocation := 'dblib.dll'; to load the right library.
  5. Actually we are looking for somebody who can compile the FreeTDS lib with the StoredProc functions.
  6. Actually we do NOT support Strored procedures/functions with the FreeTDS library.

So, it looks like freetds is not delivered with zeos...
« Last Edit: November 11, 2015, 09:20:21 am by gelinp »
My configuration is : Lazarus 1.6+dfsg-1 / FPC 3.0.0 / Debian Mint / x86_64-linux-gtk2

 

TinyPortal © 2005-2018