| Ticket UUID: | 2974481 | ||
| Title: | FreeBSD build failure -ltcl86 | ||
| Type: | Bug | Created on: | 2010-03-22 11:17:41 |
| Submitter: | juliannoble | Assigned to: | stwo |
| Subsystem: | 53. Configuration and Build Tools | Severity: | |
| Priority: | 5 Medium | Last modified: | 2026-10-22 17:19:28 |
| Status: | Closed | Closed by: | serhiy.storchaka |
| Resolution: | Fixed | Closed on: | 2026-10-21 09:06:36 |
| Version: | None | ||
| Description: | ||||
> cd 8.6b1.1/tcl/unix > ./configure --enable-threads --prefix=/tcl > make make fails saying: gcc -DNDEBUG -O2 -pipe tclAppInit.o -L/usr/local/buildtcl/8.6b1.1/tcl/unix -ltcl86 -lz -lpthread -lm -Wl,-rpath,/tcl/lib -o tclsh /usr/bin/ld: cannot find -ltcl86 *** Error code 1 tcl8.6b1.1 CVS 2010-03-22 gcc 3.4.6 on FreeBSD 6.2 Followed basic instructions at: http://www.tcl.tk/doc/howto/compile.html#unix This has always worked for me in the past. Comparing the makefile with a previous successful build of tcl8.6b1.1, I notice that the old one has: TCL_LIB_FILE= libtcl8.6.so TCL_LIB_FLAG= -ltcl8.6 but the new makefile has: TCL_LIB_FILE= libtcl86.so.1 TCL_LIB_FLAG= -ltcl86 | ||||
| User Comments: | ||||
juliannoble added on 2010-03-22 19:48:56:
Make can be made to run to completion by modifying unix/configure : Reverting to the branch NetBSD-*|FreeBSD-*) and removing the branch FreeBSD-*) # This configuration from FreeBSD Ports. serhiy.storchaka added on 2026-10-21 09:06:36:
Not a problem any more: on FreeBSD 15.1, 8.6 (core-8-6-branch) and 9.1 (main) configure, build with gmake and install without changes, producing libtcl8.6.so / libtcl9.1.so with a matching TCL_LIB_FLAG (-ltcl8.6 / -ltcl9.1), and the installed tclsh runs. The FreeBSD Ports-specific configuration that produced libtcl86.so.1 has been removed since ([75f8d23bb7]). Closing. | ||||
