Page 1 of 1

3.01 (Without Source) libsqlite3.dylib Missing

Posted: Mon 17 Dec 2012 12:21
by DespatchSystems
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

Re: 3.01 (Without Source) libsqlite3.dylib Missing

Posted: Tue 18 Dec 2012 09:17
by AlexP
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

Re: 3.01 (Without Source) libsqlite3.dylib Missing

Posted: Wed 19 Dec 2012 15:21
by DespatchSystems
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

Re: 3.01 (Without Source) libsqlite3.dylib Missing

Posted: Thu 20 Dec 2012 14:32
by AlexP
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