From: Alexander S. <a.s...@gm...> - 2013-01-14 11:28:29
|
Hello Core-Team, I build "wish8.6-X11" under Mac OS X 10.8.2 with XQuartz 2.7.4 installed. Calling "wish8.6-X11" throws the following error: dyld: Library not loaded: /Library/Frameworks/Tk.framework/Versions/8.6-X11:/usr/X11R6/lib/Tk Referenced from: /Users/alex/usr/local/bin/./wish-X11 Reason: image not found Trace/BPT trap: 5 After the following workaround "wish8.6-X11" starts without error: mkdir /Library/Frameworks/Tk.framework/Versions/8.6-X11: mkdir /Library/Frameworks/Tk.framework/Versions/8.6-X11:/usr mkdir /Library/Frameworks/Tk.framework/Versions/8.6-X11:/usr/X11R6 ln -s /Library/Frameworks/Tk.framework/Versions/8.6-X11 lib This looks like "wish8.6-X11" try to load "Tk" dylib as {/Library/Frameworks/Tk.framework/Versions/8.6-X11:/usr/X11R6/lib/Tk} instead of {/Library/Frameworks/Tk.framework/Versions/8.6-X11/Tk} I couldn't find where this wrong library path is build in the configure process. Hope someone of the core-team could answer this question. My settings are: Darwin asmbp 12.2.1 Darwin Kernel Version 12.2.1: Thu Oct 18 16:32:48 PDT 2012; root:xnu-2050.20.9~2/RELEASE_X86_64 x86_64 export MACOSX_DEPLOYMENT_TARGET=10.5 export CFLAGS="-arch x86_64 -mmacosx-version-min=10.5" export ver=8.6.0 make -C tcl${ver}/macosx install-deploy INSTALL_ROOT="${HOME}/" NATIVE_TCLSH="${HOME}/usr/local/bin/tclsh8.6" 2>&1 | tee log_make_tcl.txt TK_X11=1 make -C tk${ver}/macosx install-deploy INSTALL_ROOT="${HOME}/" 2>&1 | tee log_make_tk_x11.txt Regards, Alex |