Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2012-07

How does Lazarus find SQLite?

7 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

leledumbo
to Alexander Klenin
It seems the Lazaurs uses SQLite. (For what, btw? just curious)

Not at all, except if you install SQLite component.

So how does Lazarus find the SQLite library?

Windows: anywhere in PATH
*nix: /usr/lib or /usr/local/lib usually, but other places are possible (not really sure about all of them, it may differ one to another)

View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-How-does-Lazarus-find-SQLite-tp4024909p4024917.html Sent from the Free Pascal - Lazarus mailing list .

Reply by email

Alexander Klenin
to leledumbo
leledumbo wrote 5 lines
> It seems the Lazaurs uses SQLite. (For what, btw? just curious) Not at all, except if you install SQLite component. > So how does Lazarus find the SQLite library?

You are right. This sounds like a bug in the component, however -- after installation of sqllite3laz package, Lazarus itself fails to start in there is no DLL in path.
The DLL should be loaded only when the connection is made, similar to the other databases.

Windows: anywhere in PATH *nix: /usr/lib or /usr/local/lib usually, but other places are possible (not really sure about all of them, it may differ one to another)

I see. Based my incorrect conclusion that Lazarus itself uses SQLite I was hoping to guarantee its presence for the demo.
I'll just write in the demo documentation that it is required :)

Alexander S. Klenin

Reply by email

Mark Morgan Lloyd
to Alexander Klenin: You are right. This sounds like a bug in the component, however -- after installation of…
Alexander Klenin wrote
I see. Based my incorrect conclusion that Lazarus itself uses SQLite I was hoping to guarantee its presence for the demo. I'll just write in the demo documentation that it is required :)

Applies to any database: has to be installed, and naming/symlinks need to be correct. I thought that at one time there was a proposal that an initialisation call should be able to specify a library's exact name.

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Unknown author
to Mark Morgan Lloyd
Mark Morgan Lloyd wrote 9 lines
Alexander Klenin wrote: > I see. Based my incorrect conclusion that Lazarus itself uses SQLite I was > hoping to guarantee its presence for the demo. > I'll just write in the demo documentation that it is required :) Applies to any database: has to be installed, and naming/symlinks need to be correct. I thought that at one time there was a proposal that an initialisation call should be able to specify a library's exact name.

It is so, but a default is used when the library is first needed, if if was not loaded with an explicitly specified name.

Michael.

Reply by email

Ing. Héctor F. Fiandor Rosario
to Alexander Klenin: You are right. This sounds like a bug in the component, however -- after installation of…

Dear Mr. Klenin:

I have installed succesfully the SQLite3 and I have done the excersice covered in the Tutorial01 and Tutorial02.

The tutorial03 don?t work.

I will appreciate very much to know when you will publish the demo documentation mentioned.

thanks in advance,

Ing. H?ctor F. Fiandor Rosario

Earlier message 45 lines
----- Original Message ----- From: "Alexander Klenin" To: "Lazarus mailing list" Sent: Tuesday, July 24, 2012 6:18 AM Subject: Re: [Lazarus] How does Lazarus find SQLite? > On Tue, Jul 24, 2012 at 9:52 PM, leledumbo > wrote: >>> It seems the Lazaurs uses SQLite. (For what, btw? just curious) >> >> Not at all, except if you install SQLite component. >> >>> So how does Lazarus find the SQLite library? > > You are right. This sounds like a bug in the component, however -- > after installation of sqllite3laz package, Lazarus itself fails to > start in there is no DLL in path. > The DLL should be loaded only when the connection is made, similar to > the other databases. > >> Windows: anywhere in PATH >> *nix: /usr/lib or /usr/local/lib usually, but other places are possible >> (not >> really sure about all of them, it may differ one to another) > > I see. Based my incorrect conclusion that Lazarus itself uses SQLite I was > hoping to guarantee its presence for the demo. > I'll just write in the demo documentation that it is required :) > > -- > Alexander S. Klenin > > -- > _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud. La persona que envia este correo asume el compromiso de usar el servicio a tales fines y cumplir con las regulaciones establecidas Infomed: http://www.sld.cu/

Reply by email