FreeBSD build failure -ltcl86
Closed / Fixed2974481fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 42 days ago
Descriptionplain2010-03-22 11:17:41
> 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
juliannobleplain2010-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.
juliannoble Ticket [2974481fff]: 1 change
[History diff]2010-03-22 19:49:48
serhiy.storchakawiki2026-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.
serhiy.storchaka Ticket [2974481fff]: 3 changes
[History diff]2026-10-22 17:19:28
Log in (anonymous is fine) to add a comment.