External Email - Use Caution
It should be OK to use qt4 on Ubuntu 16, though I think qt5 would work as well.
Please test to see if you can freeview from where it was installed. Your output below says that FREESURFER_HOME is /usr/local/freesurfer, so you should have a /usr/local/freesurfer/bin/freeview. Or I am assuming that if you built freesurfer, then after you did the “make” command to build it, you did “make install” with the install prefix set to to /usr/local/freesurfer
After you are in the freesurfer shell with FREESURFER_HOME and the other environment variables set, the which command can verify the location of freeview,$ which freeview/usr/local/freesurfer/bin/freeview
You can check what libraries freeview cannot find with the following,$ ldd `which freeview` | grep not
If all the libraries are found, you will get no output from the ldd command, and you should be able to test just running freeview from the command line. They GUI should come up with no volume loaded.
$ freeview
But if the ldd command reports some libraries are not found, then freeview will not run.
Does the ldd command report that libvtkverdict.so.5.6 (or any other libraries) are not found ?
- R.
On Dec 5, 2018, at 18:24, Maeve Barrett <barretm2(a)tcd.ie> wrote: External Email - Use Caution Thanks so much!I installed the qt4 library but I received another error the 'freeview: command not found error'When I attempted it again, I received the following error:freeview.bin $argvfreeview.bin: error while loading shared libraries: libvtkverdict.so.5.6: cannot open shared object file: No such file or directoryI then tried to install the libvtkverdict.so.5.6: package but received the following error:sudo apt install libvtkverdict.so.5.6Reading package lists... DoneBuilding dependency tree Reading state information.... DoneE: Unable to locate package libvtkverdict.so.5.6E: Couldn't find any package by glob 'libvtkverdict.so.5.6'E: Couldn't find any package by regex 'libvtkverdict.so.5.6'I then installed the qt5 library and tried to start freeview again but I received this error:freeview: error while loading shared libraries: libQt5X11Extras.so.5: cannot open shared object file: No such file or directoryI tried to install this package but then I received this error:Reading package lists... DoneBuilding dependency tree Reading state information... DoneE: Unable to locate package libQt5X11Extras.so.5E: Couldn't find any package by glob 'libQt5X11Extras.so.5'E: Couldn't find any package by regex 'libQt5X11Extras.so.5'Am I missing another library? Thanks in advance!Best,M.On Wed, 5 Dec 2018 at 15:32, fsbuild <fsbuild@contbay..com> wrote: External Email - Use Caution Hello Maeve,You can search for the package to install with apt-file, but you may need to install that first, so try,$ sudo apt install apt-file$ sudo apt update… now search for the package with that library name using apt-file$ sudo apt-file search libQtScriptTools.so.4I think it will come back with something like,libqt4-scripttools: /usr/lib/x86_64-linux-gnu/libQtScriptTools.so.4…..- but the name of the package to the left hand side of the colon is what you want to install, so try$ sudo apt install libqt4-scripttoolsIf that does not fix the libqt references, then you could also try$ sudo apt install qt4-default- R.On Dec 5, 2018, at 13:32, Maeve Barrett <barretm2(a)tcd.ie> wrote: External Email - Use Caution Hello,I've been trying to resolve this issue but I haven't found a fix on the mailing lists. I downloaded and installed the most recent version of Freesurfer for Linux. I am running Ubuntu 16.04 LTS as guest on Virtualbox 5.2.22 on a windows 10 host. My tcsh version is 6.18.01 (Astron). When I type the commands $> setenv FREESURFER_HOME /usr/local/freesurfer
$> source $FREESURFER_HOME/SetUpFreeSurfer.cshI get the following output: -------- freesurfer-Linux-centos6_x86_64-stable-pub-v6.0.0-2beb96c --------Setting up environment for FreeSurfer/FS-FAST (and FSL)FREESURFER_HOME /usr/local/freesurferFSFAST_HOME /usr/local/freesurfer/fsfastFSF_OUTPUT_FORMAT nii.gzSUBJECTS_DIR /home/maevebarrett/Documents/AM8750_Structural/MNI_DIR /usr/local/freesurfer/mniI have been able to run recon-all with no errors. However, when I try to open freeview, I receive the error message 'freeview: command not found.'I ensured I have permissions on the requisite folders. When I navigate to freesurfer/bin and type freeview.bin $argv I get the following error:/usr/local/freesurfer/bin> freeview.bin $argvfreeview..bin: error while loading shared libraries: libQtScriptTools.so.4: cannot open shared object file: No such file or directoryI tried downloading the libQtScriptTools.so.4 but when I attempt to install it I get the following error:sudo apt-get install libQtScriptTools.so.4Reading package lists... DoneBuilding dependency tree Reading state information... DoneE: Unable to locate package libQtScriptTools.so.4E: Couldn't find any package by glob 'libQtScriptTools.so.4'E: Couldn't find any package by regex 'libQtScriptTools.so.4'I'm at a loss. Any help would be greatly appreciated.Best,M._______________________________________________Freesurfer mailing listFreesurfer@nmr.mgh.harvard.eduhttps://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer_______________________________________________Freesurfer mailing listFreesurfer@nmr.mgh.harvard.eduhttps://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer_______________________________________________Freesurfer mailing listFreesurfer@nmr.mgh.harvard.eduhttps://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer