3.01 (Without Source) libsqlite3.dylib Missing

3.01 (Without Source) libsqlite3.dylib Missing

Postby 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
DespatchSystems
 
Posts: 14
Joined: Tue 24 Jul 2012 10:45

Re: 3.01 (Without Source) libsqlite3.dylib Missing

Postby 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
AlexP
Devart Team
 
Posts: 5528
Joined: Tue 10 Aug 2010 11:35

Re: 3.01 (Without Source) libsqlite3.dylib Missing

Postby 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
DespatchSystems
 
Posts: 14
Joined: Tue 24 Jul 2012 10:45

Re: 3.01 (Without Source) libsqlite3.dylib Missing

Postby 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
AlexP
Devart Team
 
Posts: 5528
Joined: Tue 10 Aug 2010 11:35


Return to dbExpress driver for SQLite