What is the tcl library path?

Sam Edge sam.edge.cygwin@gmx.com
Fri Oct 18 18:22:35 GMT 2024


On 18/10/2024 19:00, José Isaías Cabrera wrote:
> gcc -shared tclsqlite3.c -o libsqlite3.47.0.dll -Wl,-ltclstub8.6 -L/wherever/your/libtcl/is

samedge@gwaihir ~
$ find / -xdev -iname '*libtcl*'
/bin/libtcl8.6.dll
/lib/libtcl.dll.a
/lib/libtcl8.6.dll.a
/lib/libtclstub.a
/lib/libtclstub8.6.a
/usr/bin/libtcl8.6.dll
/usr/lib/libtcl.dll.a
/usr/lib/libtcl8.6.dll.a
/usr/lib/libtclstub.a
/usr/lib/libtclstub8.6.a

(/lib == /usr/lib, /bin == /usr/bin)

If that doesn't get you what you need, try
  find / -xdev -iname '*tcl*'
which reveals everything tclish plus some red herrings, naturally.

Cygwin uses PE DLL libraries not ELF SO one of course. Are you 
configuring for Cygwin rather than straight-up POSIX/Linux or Windows?

Just a thought.

(Sorry, don't have the b/w for following up on the forum thread.)

-- 
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/20241018/f2538399/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/20241018/f2538399/attachment.sig>


More information about the Cygwin mailing list