[sqlite] undefined symbol: Tcl_CreateObjCommand
Hi guys, I am using a module called Tcl-1.05 in perl. But when i try to load a tclsqlite3.5.3.so file it throws an error like undefined symbol: Tcl_CreateObjCommand. If i just specify the tclsqlite-3.5.3.so it will search in this particular location which is /usr/local/lib/tclsqlite-3.5.3.so. There is a tclsqlite-3.5.3.so file at this location. Why it is not loading. Any info about the error Tcl_CreateObjCommand is helpful. Module Name - Tcl-1.05 Link : http://search.cpan.org/~vkon/Tcl-1.05/Tcl.pm Perl verison - 5.8.8 Tcl version - 8.5 --- Code used in perl module --- ##Creating a new tcl interpreter object my $obj = Tcl->new; ##Loading the so file $obj->Eval('load tclsqlite-3.5.3.so'); ___ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] Undefined Symbol: Tcl_CreateObjCommand
Hi Michael, I didn't though about Teacup :) The ActiveState Teacup version works perfectly. Thanks a lot :) On Mon, 2009-08-31 at 11:26 +0200, Michael Schlenker wrote: > Dan Kennedy schrieb: > > On Aug 30, 2009, at 12:08 AM, carlos.tas...@farmerswife.com wrote: > > > >> Hi Gerry, > >> > >> That's the first thing I tested. I downloaded this file: > >> http://sqlite.org/tclsqlite-3.6.17.so.gz > >> > >> Does anyone else have the same problem? I'm using ActiveTcl 8.5.4. > If your using ActiveTcl you could use their build of SQLite and download it > via the teacup command. > > But otherwis this looks weird. Check the downloaded .so with ldd if it > references any Tcl Library (like libtcl8.4 or something). It should not, if > it had been compiled with STUBS enabled. > > Michael > -- Carlos Tasada Software Developer Farmers WIFE S.L Tel+34 971 730 777 Fax+34 971 730 729 www.farmerswife.com This e-mail and any attached files may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] Undefined Symbol: Tcl_CreateObjCommand
Dan Kennedy schrieb: > On Aug 30, 2009, at 12:08 AM, carlos.tas...@farmerswife.com wrote: > >> Hi Gerry, >> >> That's the first thing I tested. I downloaded this file: >> http://sqlite.org/tclsqlite-3.6.17.so.gz >> >> Does anyone else have the same problem? I'm using ActiveTcl 8.5.4. If your using ActiveTcl you could use their build of SQLite and download it via the teacup command. But otherwis this looks weird. Check the downloaded .so with ldd if it references any Tcl Library (like libtcl8.4 or something). It should not, if it had been compiled with STUBS enabled. Michael -- Michael Schlenker Software Engineer CONTACT Software GmbH Tel.: +49 (421) 20153-80 Wiener Straße 1-3 Fax:+49 (421) 20153-41 28359 Bremen http://www.contact.de/ E-Mail: m...@contact.de Sitz der Gesellschaft: Bremen Geschäftsführer: Karl Heinz Zachries, Ralf Holtgrefe Eingetragen im Handelsregister des Amtsgerichts Bremen unter HRB 13215 ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] Undefined Symbol: Tcl_CreateObjCommand
Hi Dan, Sorry, my fault. I'm testing in a 32bits Ubuntu 8.10 system running kernel 2.6.28-15-generic. Thanks. Quoting Dan Kennedy: > On Aug 30, 2009, at 12:23 AM, carlos.tas...@farmerswife.com wrote: > >> Hi Dan, >> >> Yes I can confirm it. As more info here is the size of the so >> >> 407348 2009-08-29 19:03 tclsqlite-3.6.17.so > > > Are you using 64-bit linux? > > Dan. > > ___ > 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
Re: [sqlite] Undefined Symbol: Tcl_CreateObjCommand
On Aug 30, 2009, at 12:23 AM, carlos.tas...@farmerswife.com wrote: > Hi Dan, > > Yes I can confirm it. As more info here is the size of the so > > 407348 2009-08-29 19:03 tclsqlite-3.6.17.so Are you using 64-bit linux? Dan. ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] Undefined Symbol: Tcl_CreateObjCommand
Hi Gerry, That's the first thing I tested. I downloaded this file: http://sqlite.org/tclsqlite-3.6.17.so.gz Does anyone else have the same problem? I'm using ActiveTcl 8.5.4. Thanks. Quoting Gerry Snyder: > Carlos Tasada wrote: >> Hi guys, >> >> I'm trying to use sqlite 3.6.17 from a Tcl script in Linux, but as soon >> as I do "load libsqlite3.so" I get an error: "undefined symbol: >> Tcl_CreateObjCommand" >> >> Testing the script in Windows works fine. >> >> Anyone knows how to solve it? >> >> Thanks. >> > Looks like you are using the library without the Tcl bindings. > ___ > 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
Re: [sqlite] Undefined Symbol: Tcl_CreateObjCommand
Carlos Tasada wrote: > Hi guys, > > I'm trying to use sqlite 3.6.17 from a Tcl script in Linux, but as soon > as I do "load libsqlite3.so" I get an error: "undefined symbol: > Tcl_CreateObjCommand" > > Testing the script in Windows works fine. > > Anyone knows how to solve it? > > Thanks. > Looks like you are using the library without the Tcl bindings. ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
[sqlite] Undefined Symbol: Tcl_CreateObjCommand
Hi guys, I'm trying to use sqlite 3.6.17 from a Tcl script in Linux, but as soon as I do "load libsqlite3.so" I get an error: "undefined symbol: Tcl_CreateObjCommand" Testing the script in Windows works fine. Anyone knows how to solve it? Thanks. -- Carlos Tasada Software Developer Farmers WIFE S.L Tel+34 971 730 777 Fax+34 971 730 729 www.farmerswife.com This e-mail and any attached files may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users