Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2026-11-13
11:18 • Closed ticket [1095968fff]: report libdir in tclConfig.sh plus 6 other chang... artifact: dc9c214317 user: serhiy.storchaka
2016-08-23
13:59 • Ticket [1095968fff]: 6 changes artifact: cab821eb97 user: dkf
2009-12-11
00:15 • Ticket [1095968fff]: 5 changes artifact: d9973bb287 user: dgp
2009-12-10
02:48 • Ticket [1095968fff]: 1 change artifact: 296aa26c39 user: dgp
2005-01-05
02:47 • Ticket [1095968fff]: 4 changes artifact: 7d7e4b7a92 user: dgp
2005-01-04
19:24 • New ticket [1095968fff]. artifact: c990e40cf8 user: dgp

report libdir in tclConfig.sh

Closed / Out of Date1095968fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 20 days ago
Descriptionplain2005-01-04 19:24:41
Add the line to tclConfig.sh.in

TCL_LIBDIR='@libdir@'

so that applications linking the
Tcl library can know where it's
found.
dgpplain2005-01-05 02:47:37
Logged In: YES 
user_id=80530


An alternative might be to

tcl::pkgconfig get libdir,runtime

in the corresponding tclsh program.
dgp Ticket [1095968fff]: 1 change [History diff]2009-12-10 02:48:14
dgpplain2009-12-11 00:15:40
Dropping prio since the use case
isn't recorded and a workaround (better
answer?) is known.
dkf Ticket [1095968fff]: 6 changes [History diff]2016-08-23 13:59:02
serhiy.storchakawiki2026-11-13 11:18:43

Besides tcl::pkgconfig, the library directory is available as pkg-config --variable=libdir tcl from the tcl.pc file installed since Tcl 8.6, so closing.

Log in (anonymous is fine) to add a comment.