On Tue, 16 Aug 2005, Ulrik Petersen wrote:

Hi,

There are libsqlite3.a, libsqlite3.la, and libsqlite3.so files
in /usr/lib/

Could you show us the exact command line you are trying to use when
running g++ ?

I'm especially interested in the version where you give the
/usr/lib/libsqlite3.a fully qualified filename on the commandline.


Sure.  Linking dynamically with:

g++ -lsqlite3 -o kumacgen kumacgen.cpp

Works fine.  I tried:

g++ -static -lsqlite3 -o kumacgen kumacgen.cpp

and

g++ -o kumacgen kumacgen.cpp /usr/lib/libsqlite3.a

Neither of which works. Though the error messages between the two are different. The first complains about undefined references and the second seems to have a problem with libsqlite3.a itself, giving the error:

/usr/lib/libsqlite3.a(os_unix.o): In function `testThreadLockingBehavior':
: undefined reference to `pthread_create'

--
David Kettler
[EMAIL PROTECTED]

Reply via email to