Thanks - that was very helpful Gustaf.
I'm using the Debian tclConfig.sh which does indeed clear those variables.
# Flags to pass to ld, such as "-R /usr/local/tcl/lib", that tell the
# run-time dynamic linker where to look for shared libraries such as
# libtcl.so. Used when linking applications
Hi David,
When i add the following two lines
echo "---TCL_CC_SEARCH_FLAGS=$TCL_CC_SEARCH_FLAGS
CC_SEARCH_FLAGS=$CC_SEARCH_FLAGS"
echo "---TCL_LD_SEARCH_FLAGS=$TCL_LD_SEARCH_FLAGS
LD_SEARCH_FLAGS=$LD_SEARCH_FLAGS"
before the setting of CCRFLAG and LDRFLAG on ubuntu (12.04.5 LTS), i se