Artifacts Associated With Ticket 6a99f82ea2f5bd81
Ticket change [e630ecd2c6] (rid 254613) by mookie on 2026-06-28 11:44:30:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/html"
- comment initialized to:
After compiling 9.1a1 successfully, I am struggling to compile 9.0.4 <br> Resulting in the following error message when doing the traditional ./configure and make.<br><br> checking /forest/~bench/~app_scrap/tcl9.0.4/unix/tclsh for Tcl 9... ld-elf.so.1: <br> Shared object "libtcl9.0.so" not found, required by "tclsh" <br> no <br> configure: error: cannot find a usable native Tcl 9 tclsh. Either set <br>TCLSH_NATIVE or use configure with --disable-zipfs<br> *** Error code 1<br> <br> The same error occurs with --disable-zipfs <br> 9.1a1 compiles just fine. <br><br> rm -rf /forest/~tcl ; rm -rf /forest/~bench/~app_scrap/tcl <br> ./configure --prefix=/forest/~tcl <br> make <br><br> FreeBSD 16.0-CURRENT FreeBSD 16.0-CURRENT #0 main-n286909-2c1482e30536
- foundin initialized to: " 9.0.4"
- is_private initialized to: "0"
- login: "mookie"
- priority initialized to: "5 Medium"
- private_contact initialized to: "eb7513005aa11dbe2a07d8bff76f8af3c25f379b"
- resolution initialized to: "None"
- severity initialized to: "Severe"
- status initialized to: "Open"
- submitter initialized to: "mookie"
- subsystem initialized to: "69. Other"
- title initialized to:
FreeBSD 16 (Bleeding edge) - Tcl fails to compile Shared object "libtcl9.0.so" not found
- type initialized to: "Bug"
Ticket change [2d9b41b799] (rid 254614) by mookie on 2026-06-28 11:47:59:
- icomment:
Forgot to include the make report. Is this a thread issue? Configuring package 'thread3.0.6' checking TEA configuration... ok (TEA 3.13) configure: configuring thread 3.0.6 checking system version... FreeBSD-16.0-CURRENT checking for Tcl configuration... found /forest/crystal_forest/~bench/~app_scrap/tcl9.0.4/unix/tclConfig.sh checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C23 features... -std=gnu23 checking for existence of /forest/crystal_forest/~bench/~app_scrap/tcl9.0.4/unix/tclConfig.sh... loading checking platform... unix configure: --exec-prefix defaulting to TCL_EXEC_PREFIX /forest/crystal/forest/~tcl checking for gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C23 features... (cached) -std=gnu23 checking how to run the C preprocessor... gcc -std=gnu23 -E checking whether make sets $(MAKE)... yes checking for ranlib... ranlib checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking if the compiler understands -pipe... yes checking whether byte ordering is bigendian... no checking for NaviServer/AOLserver configuration... none found checking for Tcl public headers... /forest/crystal_forest/~bench/~app_scrap/tcl9.0.4/generic checking for pthread_mutex_init in -lpthread... yes checking for building with threads... yes (default) checking how to build libraries... shared checking for ranlib... (cached) ranlib checking if 64bit support is requested... no checking if 64bit Sparc VIS support is requested... no checking if compiler supports visibility "hidden"... yes checking if rpath support is requested... yes checking system version... (cached) FreeBSD-16.0-CURRENT checking for ar... ar checking for cast to union support... yes checking for stdbool.h... yes checking for required early compiler flags... none checking for 64-bit integer type... yes checking for build with symbols... no checking for egrep -e... /usr/bin/grep -E checking for tclsh... /forest/crystal_forest/~bench/~app_scrap/tcl9.0.4/unix/tclsh checking for building with zipfs... no checking for tclsh9.0... no checking for tclsh90... no checking for tclsh... no checking /forest/crystal_forest/~bench/~app_scrap/tcl9.0.4/unix/tclsh for Tcl 9... ld-elf.so.1: Shared object "libtcl9.0.so" not found, required by "tclsh" no configure: error: cannot find a usable native Tcl 9 tclsh. Either set TCLSH_NATIVE or use configure with --disable-zipfs *** Error code 1
- login: "mookie"
- mimetype: "text/plain"
- icomment:
Ticket change [b6db27957d] (rid 254615) by mookie on 2026-06-28 12:17:32:
- icomment:
Discovered a workaround. Copying thread 3.0.5 from 9.1a1 pkgs directory to the 9.0.4 pkgs directory Tcl 9.0.4 now compiles. Alternatively Using the fossil branch of thread leaf check-in: 8c0237b059 - Fails compilation Using the fossil branch of thread leaf check-in: 5d6cb550a0 - Successful compilation but make % info tclversion 9.0 Verdict: Something is astray with the bundled Thread 3.0.6 package included with Tcl 9.0.4.
- login: "mookie"
- mimetype: "text/plain"
- icomment:
Ticket change [71b1558a55] (rid 254616) by mookie on 2026-06-28 12:21:41:
- icomment:
Discovered a workaround. Copying thread 3.0.5 from 9.1a1 pkgs directory to the 9.0.4 pkgs directory Tcl 9.0.4 now compiles. /forest/crystal_forest/~tcl/bin/tclsh9.0 % package require Thread 3.0.5 Alternatively Using the fossil branch of thread leaf check-in: 8c0237b059 - Fails compilation Using the fossil branch of thread leaf check-in: 5d6cb550a0 - Successful compiles but make install fails. /forest/crystal_forest/~tcl/lib/tcl9/9.0/`echo tdbcsqlite3 | sed s=tdbc=tdbc/=`-1.1.13.uuid Installing documentation in /forest/crystal_forest/~tcl/share/man Installing /forest/crystal_forest/~bench/~app_scrap/tcl9.0.4/pkgs/tdbcsqlite3-1.1.13/doc/tdbc_sqlite3.n gmake[1]: Leaving directory '/forest/crystal_forest/~bench/~app_scrap/tcl9.0.4/unix/pkgs/tdbcsqlite3-1.1.13' Installing package 'thread' for Tcl 8 gmake[1]: Entering directory '/forest/crystal_forest/~bench/~app_scrap/tcl9.0.4/unix/pkgs8/thread' /bin/sh: cannot open /forest/crystal_forest/~bench/~app_scrap/tcl9.0.4/pkgs/thread/tclconfig/install-sh: No such file or directory gmake[1]: *** [Makefile:443: install-lib-binaries] Error 127 gmake[1]: Leaving directory '/forest/crystal_forest/~bench/~app_scrap/tcl9.0.4/unix/pkgs8/thread' gmake: *** [Makefile:2095: install-packages] Error 2 Something is astray with the bundled Thread 3.0.6 package included with Tcl 9.0.4. - login: "mookie"
- mimetype: "text/plain"
- icomment:
Ticket change [f7ac381022] (rid 254622) by apnadkarni on 2026-06-28 17:16:15:
- icomment:
Mea culpa, I'm afraid. However, not a Tcl issue but a Thread issue. Moved [there](https://core.tcl-lang.org/thread/tktview/30e201c7). Closing here.
- login: "apnadkarni"
- mimetype: "text/x-markdown"
- icomment:
Ticket change [5928c58d4b] (rid 254623) by apnadkarni on 2026-06-28 17:23:09:
- closedate changed to: "2461220.2244098377"
- closer changed to: "apnadkarni"
- icomment:
@mookie, please follow up in the Thread [ticket](https://core.tcl-lang.org/thread/tktview/30e201c7) where I've suggested a workaround for you to try. Closing here.
- login: "apnadkarni"
- mimetype: "text/x-markdown"
- status changed to: "Closed"
Ticket change [a1914ae8d1] (rid 257618) by serhiy.storchaka on 2026-10-11 12:46:19:
- foundin changed to: "9.0.4"