Tcl-way is
package require sqlite3

The problem was fired in some old SQLite versions but was fixed before
previous release.

2012/4/8 Black, Michael (IS) <michael.bla...@ngc.com>

> Don't you need to load the sqlite3 library first for tclsh?
>
>
>
> load ./libtclsqlite3.so Sqlite3
>
> Or something like that?
>
>
>
>
>
> Michael D. Black
>
> Senior Scientist
>
> Advanced Analytics Directorate
>
> Advanced GEOINT Solutions Operating Unit
>
> Northrop Grumman Information Systems
>
> ________________________________
> From: sqlite-users-boun...@sqlite.org [sqlite-users-boun...@sqlite.org]
> on behalf of Alexey Pechnikov [pechni...@mobigroup.ru]
> Sent: Saturday, April 07, 2012 7:14 AM
> To: General Discussion of SQLite Database
> Subject: EXT :Re: [sqlite] undefined symbol: sqlite3_stricmp
>
> Command-line shell works fine but tclsqlite package does not:
>
> $ tclsh8.5 test.tcl
> /usr/lib/libsqlitefts3.so: undefined symbol: sqlite3_stricmp
>    while executing
> "db eval {SELECT load_extension('/usr/lib/libsqlitefts3.so')}"
>
>
> $ sqlite3
> SQLite version 3.7.12 2012-04-07 11:00:54
> Enter ".help" for instructions
> Enter SQL statements terminated with a ";"
> sqlite> SELECT load_extension('/usr/lib/libsqlitefts3.so');
> load_extension('/usr/lib/libsqlitefts3.so')
> sqlite>
>
>
>
> 2012/4/7 Richard Hipp <d...@sqlite.org>
>
> > On Sat, Apr 7, 2012 at 7:20 AM, Alexey Pechnikov <pechni...@mobigroup.ru
> > >wrote:
> >
> > > Compiled as extension FTS3 module produce error "undefined symbol:
> > > sqlite3_stricmp" by loading.
> > > The problem exists in last release and current trunk.
> > >
> >
> >
> > See http://www.sqlite.org/src/artifact/906731099c43?ln=225-231
> >
> > Probably you are trying to link against a pre-3.7.11 version of SQLite,
> > perhaps the one that comes with your OS, instead of the latest version.
> >
> >
> >
> > >
> > > --
> > > Best regards, Alexey Pechnikov.
> > > http://pechnikov.tel/
> > > _______________________________________________
> > > sqlite-users mailing list
> > > sqlite-users@sqlite.org
> > > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
> > >
> >
> >
> >
> > --
> > D. Richard Hipp
> > d...@sqlite.org
> > _______________________________________________
> > sqlite-users mailing list
> > sqlite-users@sqlite.org
> > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
> >
>
>
>
> --
> Best regards, Alexey Pechnikov.
> http://pechnikov.tel/
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>



-- 
Best regards, Alexey Pechnikov.
http://pechnikov.tel/
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to