3.01 (Without Source) libsqlite3.dylib Missing

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for SQLite in Delphi and C++Builder
Post Reply
DespatchSystems
Posts: 14
Joined: Tue 24 Jul 2012 10:45

3.01 (Without Source) libsqlite3.dylib Missing

Post by DespatchSystems » Mon 17 Dec 2012 12:21

Hi,

I am using Delphi XE3 Professional, dbexpress driver for SQLite 3.01 (without source).

I am now trying to deploy my application to the Mac, following the instructions on deployment to OSX on your blog, I should be including libsqlite3.dylib. I cannot find this file anywhere in the 3.01 deployment.

When running on OSX I am getting a error "DBX Error: Not Supported" when I connect to the database, which I assume is because I don't have the libsqlite3.dylib file.

In the folder C:\Program Files (x86)\Devart\Dbx\SQLite\Bin\OSX32 the only file there is libdbexpsqlite40.dylib

Has the file libsqlite3.dylib been missed off the install for 3.01 (without source)??

Thanks

Greg

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: 3.01 (Without Source) libsqlite3.dylib Missing

Post by AlexP » Tue 18 Dec 2012 09:17

Hello,

libsqlite3.dylib is a SQLite client library for Mac OS and it is not included to our driver supply, this library is included to OS X, and there is no need to supply it with your application. The specified "DBX Error: Not Supported" error means that you are trying to use a functionality not supported by our driver. Please specify the options you use in our driver, or send a small sample to alexp*devart*com

DespatchSystems
Posts: 14
Joined: Tue 24 Jul 2012 10:45

Re: 3.01 (Without Source) libsqlite3.dylib Missing

Post by DespatchSystems » Wed 19 Dec 2012 15:21

Hi Alex,

Understood about the libsqlite3.dylib

I am using a TSQLConnection component, setting Driver to DevartSQLiteDirect, then setting the SQLConnection.Params.Values['Database'] to full OSX path to the SQLite database i.e. /users/despatchsystems/DSApp/DSUserData.s3db

I then set the connected property of the SQLConnection component to True which is when the "DBX Error: Not Supported" pops up.

In my OSX deployment page I am including libdbexpsqlite.dylib and libmidas.dylib

In works perfectly on Windows in this way but not on OSX, am I missing something? Can you help?

Thanks,

Greg

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: 3.01 (Without Source) libsqlite3.dylib Missing

Post by AlexP » Thu 20 Dec 2012 14:32

Hello,

Direct Mode in dbExpress driver for SQLite is supported only for Windows platforms, therefore instead of the DevartSQLiteDirect driver you should use the DevartSQLite driver which works with the client library libsqlite3.dylib

Post Reply