-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Muratet wrote:
>> I guess I'm not making my myself clear. I only have one installed  
>> version.

That is not true.  If it was true then you wouldn't have ended up with
3.3.6 being reported as a version in places!  You may think you only
have one version, but the operating system obviously has more.

>> Does the version info come from a library somewhere or does it come  
>> from the executable?

When using the shell, the version information comes from the api call
sqlite3_libversion() which comes from the library.  ie if you are
dynamic linking then it comes from the dynamic library.

You can use strace to find out what exactly is going on as the process
starts.  It is best to send output to a file.  eg

  strace -o /tmp/log /usr/local/bin/sqlite3

>> Are there file permissions incorporated into a library somewhere or do  
>> they come from the executable?

IIRC they have changed over time.  In the olden days you would mark the
shared library readable and executable.  Nowadays it looks like all you
need is readable.

BTW if all you are trying to do is use SQLite with Python then you can
bypass all this malarkey and get the Python bindings to use the
amalgamation directly.  Both APSW and pysqlite can automatically
download and use it!

Roger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkkRaPQACgkQmOOfHg372QQyxgCgo1ZlwQ2/KoAU/aKavs7/Rt/l
j8EAn0AX5qL1FDDkyPh1N8yQ7jB69x3k
=fhl5
-----END PGP SIGNATURE-----
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to