What is the tcl library path?

Sam Edge sam.edge.cygwin@gmx.com
Mon Oct 14 18:56:51 GMT 2024


On 14/10/2024 19:07, José Isaías Cabrera via Cygwin wrote:
> 
> Greetings.
> 
> I am working with SQLite, and I am trying to build the SQLite library with TCL support. The SQLite folks asked me the path of the TCL library which I have to idea how to identify. Is there a command that would display the path of the working TCL library. This is the tcl version cygwin installs:
> 
> jcabrera@jicman ~/b/sqlite/dbug/SQLite-f97f9944
> $ tclsh
> % puts $tcl_version
> 8.6
> %
> 
> Any help would be greatly appreciated. Thank you.
> 
> josé
> 

Hi José.

Make sure to install both the tcl package and the matching tcl-devel 
package so that you get all the required headers. In addition, you and 
hopefully the autoconf/make scripts for whatever wants to allow loading 
of Tcl as a library will be able to find everything it needs from 
/usr/lib/tclConfig.sh which is installed with the tcl-devel package.

SQLite was actually developed primarily as a lightweight SQL-based 
library for Tcl by Tcl developers so its build tools should play nice by 
default.

I'd also install the stock Cygwin sqlite3 & tcl-sqlite3 packages which 
may provide what you need without having to rebuild and will at least 
act as a reference.

-- 
Sam Edge
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x8AC2CEBF54528E30.asc
Type: application/pgp-keys
Size: 648 bytes
Desc: OpenPGP public key
URL: <https://cygwin.com/pipermail/cygwin/attachments/20241014/c87be764/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <https://cygwin.com/pipermail/cygwin/attachments/20241014/c87be764/attachment.sig>


More information about the Cygwin mailing list