Hi Aziz,

The centos6-built packages seem to cause issues when building on ubuntu, particularly for tcltk apps. I would ignore this for now, or you could compile tcltk yourself. As a general fix, I’ll work on building a package distribution on ubuntu16

best,
Andrew

On Oct 9, 2017, at 2:02 AM, Aziz Nanthaamornphong <aziz.n@phuket.psu.ac.th> wrote:

Hi Experts,

I tried to compile FreeSurfer on Ubuntu 16. When I ran a command 'make check', I got these error messages:

/usr/bin/ld: warning: libtk8.4.so, needed by /home/aziz/centos6-x86_64-packages/KWWidgets/current/lib/KWWidgets/libKWWidgets.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: IconLoaderTest.o: undefined reference to symbol 'Tcl_GetStringResult'
//usr/lib/x86_64-linux-gnu/libtcl8.4.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:947: recipe for target 'IconLoaderTest' failed
make[2]: *** [IconLoaderTest] Error 1


Best Wishes,
Aziz.

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer