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

Michael Muratet wrote:
>> The image in the directory is version 3.6.4, but the image that gets  
>> installed is 3.3.6. How can that be?

Best guess is that the shell binary is from 3.6.4 but the shared
libraries it picks up are 3.3.6.  Run `ldd /usr/local/bin/sqlite3` to
see what libraries it uses.

You also need to take note of this:

- ----------------------------------------------------------------------
Libraries have been installed in:
    /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
    - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
      during execution
    - add LIBDIR to the `LD_RUN_PATH' environment variable
      during linking
    - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
    - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
- ----------------------------------------------------------------------

For example this should work:

$ env LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH \
         /usr/local/bin/sqlite3

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

iEYEARECAAYFAkkQ0ssACgkQmOOfHg372QTLnQCeOdQabbtgFCzGjhvXhOCdfgMg
2aQAn1pNFVAiIc+WT1+oCO7i6sSjr0hO
=7lJ8
-----END PGP SIGNATURE-----
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to