On Wed, 2006-04-19 at 12:56 -0500, Maura Edeweiss Monville wrote:
Please, take a look at the installation procedure appended to this e-mail. It is standard for Tcl/Tk I launched on my x86_64 laptop. It failed with an incompatibility error. It looks like it cannot find the adequate 64-bit library for X11 and rejects the X11 which is standard for 32-bit. How can I get around this problem ? I need probably to force compilation for 32-bit because th Tcl/Tk will be used for creating a GUI from the Monte Carlo code which is 32-bit.
By the way, I got the CERNLIB installed on my laptop... at least the installation procedure completed error-free.
Thank you for all your help, Maura
cc -pipe -rdynamic tkAppInit.o \ -L/home/mokhov/restricted/mars15/TCLTK/tmpdir/tk8.3.2/unix -ltk8.3 \ -L/home/mokhov/restricted/mars15/TCLTK/tmpdir/tcl8.3.2/unix -ltcl8.3 -L/usr/X11R6/lib -lX11 -ldl -lieee -lm -lc -Wl,-rpath,/home/mokhov/restricted/mars15/linux/lib:/usr/X11R6/lib -o wish /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.so when searching for -lX11 /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.a when searching for -lX11 /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bin/ld: cannot find -lX11 collect2: ld returned 1 exit status make: *** [wish] Error 1
tk 8.3.2? Have you done a 'make clean' and a 'configure'? What is -lieee for? I never saw tcl/tk use that. Why both the rpath to your /home and a reference to /usr/X11R6/lib? Are you trying to link with an X11 that is not the installed one? Where is the libX11 that the rest of the system is using? -- Roger