RE: [sqlite] _sqlite3StrCmp not found

2007-08-30 Thread James Dennett
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 30, 2007 6:11 AM
> To: sqlite-users@sqlite.org
> Subject: Re: [sqlite] _sqlite3StrCmp not found
> 
> Bharath Booshan L <[EMAIL PROTECTED]> wrote:
> > Hello All,
> >
> >  I am using sqlite 3.1.3 version which is provided in Mac OS 10.4 OS
for
> my
> > application. We are upgrading our application to support Leapord.
> Leapord
> > includes sqlite 3.4.0 version and while loading dynamic library
> > "libsqlite3.dylib" it returns me following error
> >
> > Symbol not found : _sqlite3StrCmp
> > Referenced from: /usr/lib/sqlite/libtclsqlite3.dylib
> > Expected in: dynamic lookup
> >
> > I am using the following API's in my App.
> >
> > sqlite3_get_table()
> > sqlite3_prepare()
> > sqlite3_mprintf()
> > sqlite3_step()
> > sqlite3_free()
> >
> > What am I supposed to do to upgrade to 3.4.0 from 3.1.3.
> >
> 
> sqlite3StrCmp is not an API and never has been.  That was
> an internal routine used by some older versions of SQLite
> and was never meant for public consumption.
> 
> SQLite APIs all begin with "sqlite3_".  If there is not an
> underscore after the "3" then it is not an API and may change
> or be removed from one point release to the next.
> 
> The other interfaces you are using are APIs (notice the
> underscore after the 3) and are hence guaranteed to be
> supported into the future.

To maybe be more explicit: it appears that you're using an
older version of libtclsqlite3.dylib, and need to have/use
a version compatible with your current SQLite version.

-- James


-
To unsubscribe, send email to [EMAIL PROTECTED]
-



Re: [sqlite] _sqlite3StrCmp not found

2007-08-30 Thread drh
Bharath Booshan L <[EMAIL PROTECTED]> wrote:
> Hello All,
> 
>  I am using sqlite 3.1.3 version which is provided in Mac OS 10.4 OS for my
> application. We are upgrading our application to support Leapord. Leapord
> includes sqlite 3.4.0 version and while loading dynamic library
> "libsqlite3.dylib" it returns me following error
> 
> Symbol not found : _sqlite3StrCmp
> Referenced from: /usr/lib/sqlite/libtclsqlite3.dylib
> Expected in: dynamic lookup
> 
> I am using the following API's in my App.
> 
> sqlite3_get_table()
> sqlite3_prepare()
> sqlite3_mprintf()
> sqlite3_step()
> sqlite3_free()
> 
> What am I supposed to do to upgrade to 3.4.0 from 3.1.3.
> 

sqlite3StrCmp is not an API and never has been.  That was
an internal routine used by some older versions of SQLite
and was never meant for public consumption.

SQLite APIs all begin with "sqlite3_".  If there is not an
underscore after the "3" then it is not an API and may change
or be removed from one point release to the next.

The other interfaces you are using are APIs (notice the
underscore after the 3) and are hence guaranteed to be
supported into the future.

--
D. Richard Hipp <[EMAIL PROTECTED]>


-
To unsubscribe, send email to [EMAIL PROTECTED]
-



[sqlite] _sqlite3StrCmp not found

2007-08-30 Thread Bharath Booshan L
Hello All,

 I am using sqlite 3.1.3 version which is provided in Mac OS 10.4 OS for my
application. We are upgrading our application to support Leapord. Leapord
includes sqlite 3.4.0 version and while loading dynamic library
"libsqlite3.dylib" it returns me following error

Symbol not found : _sqlite3StrCmp
Referenced from: /usr/lib/sqlite/libtclsqlite3.dylib
Expected in: dynamic lookup

I am using the following API's in my App.

sqlite3_get_table()
sqlite3_prepare()
sqlite3_mprintf()
sqlite3_step()
sqlite3_free()

What am I supposed to do to upgrade to 3.4.0 from 3.1.3.

Regards,

Bharath Booshan L

PS: It works fine in sqlite 3.3.1.




---
Robosoft Technologies - Come home to Technology

Disclaimer: This email may contain confidential material. If you were not an 
intended recipient, please notify the sender and delete all copies. Emails to 
and from our network may be logged and monitored. This email and its 
attachments are scanned for virus by our scanners and are believed to be safe. 
However, no warranty is given that this email is free of malicious content or 
virus.



-
To unsubscribe, send email to [EMAIL PROTECTED]
-