Thanks Jordi, thanks Krish,
The problem goes on.
I have checked my libtiff files ($ sudo apt-cache search libtiff) and have got exactly the same as you, Jordi. The problem is that libtiff.so.3 is not between them.
I also managed to do the symbolic link with sudo ln -sf usr/lib/libtiff.so.4 /usr/lib/libtiff.so.3. So, as I have 6 different lib folders I have created this libtiff.so.3 link in each one of them, cause I do not know where recon-all is pointing to.
So, these are my lib folders:
/lib
/lib32
/lib64
/usr//lib
/usr//lib32
/usr/ /lib64
Only in those three folders inside /usr/ have got the following files:
pngtools - series of tools for PNG (Portable Network Graphics) images
libtiff-doc - TIFF manipulation and conversion documentation
libtiff-tools - TIFF manipulation and conversion tools
libtiff4 - Tag Image File Format (TIFF) library
libtiff4-dev - Tag Image File Format library (TIFF), development files
libtiffxx0c2 - Tag Image File Format (TIFF) library -- C++ interface
libtiff-opengl - TIFF manipulation and conversion tools
So, perhaps recon-all is pointing to libs outside /usr/, where I do not have these files. Should I paste them on it? And how can I do it by command line?
Please, any other idea?
Thank you very much
Daniel
2011/6/20 Krish Subramaniam <krish@nmr.mgh.harvard.edu>
Hi Daniel
You get permission denied because you need write permissions for /usr/lib ( wherever libtiff.so.3 is ).
If you think you have the permissions, prefix your "ln" command with a "sudo" and it'll ask for your password, and that should work successfully.
If you don't have permissions, you need to ask your system administrator to do so.
-Krish
On Jun 20, 2011, at 5:44 AM, Daniel Ferreira Padilla wrote:
Dear all,
I’m using Ubuntu 10.10 and have the same problem only when working with 4.5 version (I also use 5.1 version without any problem).
I have followed previous suggestions making a symbolic link named libtiff.so.3, but it gives me back the message “denied permission”.
Also tried to install it with “sudo aptitude install ia32-libs” but it did not recognize “aptitude” command. So I tried with “sudo apt-get install ia32-libs” instead and it was ok, but I am still having the same problem.
So, what could I do? Can I download libtiff.so.3 from somewhere? How can I avoid that “denied permission”?
Thank you very much for your help.
Daniel Ferreira
#--------------------------------------------
#@# Cortical ribbon mask Sat Jun 18 17:57:36 WEST 2011
/home/neuroimagen/DANI/subjects/uu0148_36_1/mri
mris_volmask --label_left_white 2 --label_left_ribbon 3 --label_right_white 41 --label_right_ribbon 42 --save_ribbon --save_distance uu0148_36_1
mris_volmask.bin: error while loading shared libraries: libtiff.so.3: cannot open shared object file: No such file or directory
Linux neuroimagen 2.6.35-28-generic #50-Ubuntu SMP Fri Mar 18 18:42:20 UTC 2011 x86_64 GNU/Linux
recon-all exited with ERRORS at Sat Jun 18 17:57:36 WEST 2011
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer