Re: [sqlite] linux ubuntu 3.7.01 installs sqlite3 3.6.22

2010-08-05 Thread Sylvain Pointeau
I learned something today :-)
I added /usr/local/lib to my /etc/ld.so.conf
then run "sudo ldconfig"
then I could use the latest sqlite3 in my /usr/local/ directory
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] linux ubuntu 3.7.01 installs sqlite3 3.6.22

2010-08-05 Thread Sylvain Pointeau
... my fault, the programs are taking the lib from /usr/lib before
/usr/local/lib
it is not doing this way on my macosx, I am searching now how to specify to
take first the /usr/local/lib when executing, even for
/usr/local/bin/sqlite3
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] linux ubuntu 3.7.01 installs sqlite3 3.6.22

2010-08-04 Thread Sylvain Pointeau
I just installed the sources (not the amalgamation ones) and it works fine.
what's wrong with the amalgamation package?
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] linux ubuntu 3.7.01 installs sqlite3 3.6.22

2010-08-04 Thread Sylvain Pointeau
I don't know if it is important, but I am running ubuntu 10.04 64 bit
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] linux ubuntu 3.7.01 installs sqlite3 3.6.22

2010-08-04 Thread Sylvain Pointeau
I made a small c program for testing the libs...

#include 
#include 


int main()
{
printf("version %s\n",sqlite3_libversion());
return 0;
}


it returns 3.6.22

why do I compile and install a previous version?
(is it linked to ubuntu?)

best regards,
Sylvain





>
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


[sqlite] linux ubuntu 3.7.01 installs sqlite3 3.6.22

2010-08-04 Thread Sylvain Pointeau
Hi,

I downloaded, compiled and installed the sqlite3 3.7.01 from the sources
(amalgamation).
however I have the sqlite3 version 3.6.22 installed in /usr/local/bin when I
do "make install"

>.libs/sqlite3 --version
3.6.22

however something strange, it creates a sqlite3 on the folder (same level as
./configure) which has the right version 3.7.01

what should I do then?
it seems that something is not correct, I don't know if it is in the
compilation or in the install script.

Best regards,
Sylvain
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users