On Sep 13, 2005, at 4:03 PM, Richard Nagle wrote:
..
G4:~/desktop/sqlite-3.2.5/bld rn$ sudo make install
Password:
tclsh ../tclinstaller.tcl 3.2
/usr/bin/install -c -d /usr/local/lib
./libtool --mode=install /usr/bin/install -c libsqlite3.la
/usr/local/lib
/usr/bin/install -c .libs/libsqlite3.0.8.6.dylib
/usr/local/lib/libsqlite3.0.8.6.dylib
(cd /usr/local/lib && rm -f libsqlite3.0.dylib && ln -s
libsqlite3.0.8.6.dylib libsqlite3.0.dylib)
(cd /usr/local/lib && rm -f libsqlite3.dylib && ln -s
libsqlite3.0.8.6.dylib libsqlite3.dylib)
/usr/bin/install -c .libs/libsqlite3.lai /usr/local/lib/libsqlite3.la
/usr/bin/install -c .libs/libsqlite3.a /usr/local/lib/libsqlite3.a
ranlib /usr/local/lib/libsqlite3.a
chmod 644 /usr/local/lib/libsqlite3.a
----------------------------------------------------------------------
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 `DYLD_LIBRARY_PATH' environment variable
during execution
Seems like you solved your earlier compiler problems.
read the above message. It tells you where the libraries have been
installed.
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/bin/install -c -d /usr/local/bin
./libtool --mode=install /usr/bin/install -c sqlite3 /usr/local/bin
/usr/bin/install -c .libs/sqlite3 /usr/local/bin/sqlite3
/usr/bin/install -c -d /usr/local/include
/usr/bin/install -c -m 0644 sqlite3.h /usr/local/include
/usr/bin/install -c -d /usr/local/lib/pkgconfig;
/usr/bin/install -c -m 0644 sqlite3.pc /usr/local/lib/pkgconfig;
G4:~/desktop/sqlite-3.2.5/bld rn$
look at the above... you see that something called sqlit3 have been
installed in /usr/local/bin
it also tells you where the header file has gone (/usr/local/include)
in case you need it to build something else with SQLite.
==
It would appear, from this all went well, however,
when open terminal window, and typing sqlite, nothing.
So, guru's, Where is it?, I can see in the bld folder,
but where is the exe file, of sqlite3
other words, how do I run the application.
the 'exe' is sqlite3, a binary file (.exe is simply a Windows
convention to indicate a binary file... such an extension is not
required nor customarily used in Unix).
You will need to either run sqlite3 by calling it with its full path
/usr/local/bin/sqlite3
or by including the path in your environment (consult the docs for your
shell)
or by setting up an alias to the above in your environment.
--
Puneet Kishor