Home > Archive > Tcl > April 2007 > sqlite 3.3.16 tcl bindings problem
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
sqlite 3.3.16 tcl bindings problem
|
|
| Googie 2007-04-21, 10:08 pm |
| Hi,
I'm trying to use tclsqlite-3.3.16.so downloaded from SQLite homepage,
but I get an error while loading it:
% glob *
tclsqlite-3.3.16.so
% load tclsqlite-3.3.16.so
couldn't load file "tclsqlite-3.3.16.so": tclsqlite-3.3.16.so: cannot
open shared object file: No such file or directory
I've also tried to use it in starkit'ed binary. It suprised me with
other, more specific message:
couldn't load file "/tmp/tcl3zkdvr": /tmp/tcl3zkdvr: undefined symbol:
pthread_key_create
while executing
load /home/boogie/app.vfs/lib/sqlite-3.3.16/tclsqlite-3.3.16.so
Anyone has idea what's going on? Is it possible that official tclsqlite
bindings doesn't fit all POSIX unixes (I'm using Slackware 11)?
--
Pozdrawiam (Regards)!
Googie
| |
| gypista 2007-04-22, 7:06 pm |
| >couldn't load file "/tmp/tcl3zkdvr": /tmp/tcl3zkdvr: undefined symbol:
>pthread_key_create
>while executing
>load /home/boogie/app.vfs/lib/sqlite-3.3.16/tclsqlite-3.3.16.so
>
>Anyone has idea what's going on? Is it possible that official tclsqlite
>bindings doesn't fit all POSIX unixes (I'm using Slackware 11)?
Looks like a thread-enabled lib is loaded into a thread-disabled
core. See <http://www.sqlite.org/cvstrac/tktview?tn=2302>.
| |
| Googie 2007-04-23, 7:08 pm |
| gypista wrote:
> Looks like a thread-enabled lib is loaded into a thread-disabled
> core. See <http://www.sqlite.org/cvstrac/tktview?tn=2302>.
Thanks for response!
Well, I've tried to load the library in dqkit (which is
thread-enabled), and got an error:
couldn't load file "/home/spakowane/tcl/tclsqlite-3.3.16.so":
/home/spakowane/tcl/tclsqlite-3.3.16.so: undefined symbol: dlclose
Then I found other sqlite3.3.16.so binary at www.linuxpackages.net (I
use slackware, so it fits for me), but this one throws another error:
couldn't load file "/home/spakowane/tcl/libtclsqlite3.so":
/home/spakowane/tcl/libtclsqlite3.so: undefined symbol:
Tcl_TranslateFileName
I'm thinking about compiling sqlite from sources by myself, but I'm
worried that I'd be unable to build portable binary (between various
linuxes - slackware, debian, mandriva, ubuntu, suse and others).
What should I be careful for while compiling my own binary to make it
portable as I mentioned above?
--
Pozdrawiam (Regards)!
Googie
| |
|
|
|
|
|