[sqlite] Can't load sqlite 3.75 under tcl 8.4.4.0

2011-04-09 Thread thoselaings
% package require sqlite
couldn't load library "C:/Tcl/lib/sqlite3/sqlite3/.dll": this library or a 
dependent library could not be found in library path

What is sqlite3/.dll ?
Where did that "/" come from?

The pkgindex file contains -

package ifneeded sqlite 3.7.5 [list load [file join $dir \
sqlite3[info sharedlibextension]] sqlite3]

(I'm using 8.4 because I want to continue using BLT - so don't ask me to 
upgrade to 8.5)

Any help gratefully received

Richard Laing
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] Can't load sqlite 3.75 under tcl 8.4.4.0

2011-04-10 Thread Dan Kennedy
On 04/10/2011 11:43 AM, thoselai...@shaw.ca wrote:
> % package require sqlite
> couldn't load library "C:/Tcl/lib/sqlite3/sqlite3/.dll": this library or a 
> dependent library could not be found in library path
>
> What is sqlite3/.dll ?
> Where did that "/" come from?
>
> The pkgindex file contains -
>
> package ifneeded sqlite 3.7.5 [list load [file join $dir \
>  sqlite3[info sharedlibextension]] sqlite3]

Maybe there is a space or tab or something between "sqlite3" and
"[info".

Does the command "load C:/Tcl/lib/sqlite3/sqlite3.dll" work if
you enter it directly?
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] Can't load sqlite 3.75 under tcl 8.4.4.0

2011-04-11 Thread thoselaings
As you suggested I tried the load command with the following results:

% load C:/Tcl/lib/sqlite3/sqlite3.dll
couldn't find procedure Sqlite_Init

And then I examined the pkgindex file - and you were right - there is
a space.
Correcting that, and then doing the package require command again, I
get:

% package require sqlite
couldn't find procedure Sqlite3_Init

or alternatively:
% package require sqlite 3.7.5
couldn't find procedure Sqlite3_Init


Under "load" - Sqlite_Init is missing
Under "package require" (either version) - Sqlite3_Init is missing
Why the difference?

Any suggestions on how to proceed next?

I appreciate your responses.



On Apr 10, 10:30 pm, Dan Kennedy  wrote:
> On 04/10/2011 11:43 AM, thoselai...@shaw.ca wrote:
>
> > % package require sqlite
> > couldn't load library "C:/Tcl/lib/sqlite3/sqlite3/.dll": this library or a 
> > dependent library could not be found in library path
>
> > What is sqlite3/.dll ?
> > Where did that "/" come from?
>
> > The pkgindex file contains -
>
> > package ifneeded sqlite 3.7.5 [list load [file join $dir \
> >          sqlite3[info sharedlibextension]] sqlite3]
>
> Maybe there is a space or tab or something between "sqlite3" and
> "[info".
>
> Does the command "load C:/Tcl/lib/sqlite3/sqlite3.dll" work if
> you enter it directly?
> ___
> sqlite-users mailing list
> sqlite-us...@sqlite.orghttp://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] Can't load sqlite 3.75 under tcl 8.4.4.0

2011-04-11 Thread mweiguo
于 2011-4-10 12:43, thoselai...@shaw.ca 写道:
> % package require sqlite
> couldn't load library "C:/Tcl/lib/sqlite3/sqlite3/.dll": this library or a 
> dependent library could not be found in library path
>
> What is sqlite3/.dll ?
> Where did that "/" come from?
>
> The pkgindex file contains -
>
> package ifneeded sqlite 3.7.5 [list load [file join $dir \
> sqlite3[info sharedlibextension]] sqlite3]
>
> (I'm using 8.4 because I want to continue using BLT - so don't ask me to 
> upgrade to 8.5)
>
> Any help gratefully received
>
> Richard Laing
> ___
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
hi Richard
it seems your sqlite.dll do not export the Sqlite_Init function, you can
check it's exported functions use Depends.Exe if you are in windows.

good luck
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] Can't load sqlite 3.75 under tcl 8.4.4.0

2011-04-14 Thread thoselaings
Unfortunately, I am not a geek and so don't understand your response!
Can you simplify it for me?

Regards,

On Apr 11, 11:01 pm, mweiguo  wrote:
> 于 2011-4-10 12:43, thoselai...@shaw.ca 写道:
>
>
>
> > % package require sqlite
> > couldn't load library "C:/Tcl/lib/sqlite3/sqlite3/.dll": this library or a 
> > dependent library could not be found in library path
>
> > What is sqlite3/.dll ?
> > Where did that "/" come from?
>
> > The pkgindex file contains -
>
> > package ifneeded sqlite 3.7.5 [list load [file join $dir \
> >         sqlite3[info sharedlibextension]] sqlite3]
>
> > (I'm using 8.4 because I want to continue using BLT - so don't ask me to 
> > upgrade to 8.5)
>
> > Any help gratefully received
>
> > Richard Laing
> > ___
> > sqlite-users mailing list
> > sqlite-us...@sqlite.org
> >http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>
> hi Richard
> it seems your sqlite.dll do not export the Sqlite_Init function, you can
> check it's exported functions use Depends.Exe if you are in windows.
>
> good luck
> ___
> sqlite-users mailing list
> sqlite-us...@sqlite.orghttp://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users-
>  Hide quoted text -
>
> - Show quoted text -
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users