Hi
I am using PB 5.7 on Linux and it is using SQLite ver 3.21 and I need at least 3.24 so is there a way to upgrade the version of sqlite the Purebasic uses?
Simon
How to upgrade SQLite?
How to upgrade SQLite?
Simon White
dCipher Computing
dCipher Computing
Re: How to upgrade SQLite?
Yes, this feature is in 5.70 B1swhite wrote: I am using PB 5.7 on Linux and it is using SQLite ver 3.21 and I need at least 3.24 so is there a way to upgrade the version of sqlite the Purebasic uses?
viewtopic.php?f=14&t=72650
Re: How to upgrade SQLite?
What I did was rename the purebasic/purelibraries/linux/libraries/libpbsqlite3.a and then got the 5.71 beta and copied the libpbsqlite3.a file into the purebasic/purelibraries/linux/libraries folder and now I have version 3.27.
Simon
Simon
Simon White
dCipher Computing
dCipher Computing
Re: How to upgrade SQLite?
If the application is intended to run on a workstation other than the one on which it was programmed, I advise you to put the new lib in the application's own directory rather than in the system tree. Always think that a client workstation uses several applications before changing common libs.
Remember to put the full path to the UseSQLiteDatabase lib.
UseSQLiteDatabase(./xxx) if in le actual dir.
or
UseSQLiteDatabase(ProgramFilename()/xxx) if in same dir as program.
Remember to put the full path to the UseSQLiteDatabase lib.
UseSQLiteDatabase(./xxx) if in le actual dir.
or
UseSQLiteDatabase(ProgramFilename()/xxx) if in same dir as program.
Re: How to upgrade SQLite?
Don't patch the static lib, better use the shared object version (.so) with the enw 5.71 feature
Re: How to upgrade SQLite?
Hi
I did not know that you can specify a path in the UseSQLiteDatabase() is this a new addition as it is not mentioned in the 5.7 documentation?
Simon
I did not know that you can specify a path in the UseSQLiteDatabase() is this a new addition as it is not mentioned in the 5.7 documentation?
Simon
Marc56us wrote:If the application is intended to run on a workstation other than the one on which it was programmed, I advise you to put the new lib in the application's own directory rather than in the system tree. Always think that a client workstation uses several applications before changing common libs.
Remember to put the full path to the UseSQLiteDatabase lib.
UseSQLiteDatabase(./xxx) if in le actual dir.
or
UseSQLiteDatabase(ProgramFilename()/xxx) if in same dir as program.
Simon White
dCipher Computing
dCipher Computing
Re: How to upgrade SQLite?
Thanks Fred I will look into this.
Simon
Simon
Fred wrote:Don't patch the static lib, better use the shared object version (.so) with the enw 5.71 feature
Simon White
dCipher Computing
dCipher Computing
Re: How to upgrade SQLite?
5.71 B1swhite wrote:I did not know that you can specify a path in the UseSQLiteDatabase() is this a new addition as it is not mentioned in the 5.7 documentation?
Beta, so documentation not set.
See Fred reply in topic 'PureBasic 5.71 beta 1 is out'
'The flag is just the DLL pathname, similar to UseMySQLDatabase().'
viewtopic.php?p=535284#p535284
Re: How to upgrade SQLite?
Just for my own knowledge of PB what are the possible negative aspects of patching the static libraries?Fred wrote:Don't patch the static lib, better use the shared object version (.so) with the enw 5.71 feature
Thanks,
Simon
Simon White
dCipher Computing
dCipher Computing
Re: How to upgrade SQLite?
That you don't know with wich compilerflags the original lib was compiled.
So you don't know if everything what's needed by PB is inside your 'new' lib.
So you don't know if everything what's needed by PB is inside your 'new' lib.