Hi Claus,
I don't know what to say, it worked for me.
Make sure the permissions on the library file are ok, and confirm that the LD_LIBRARY_PATH path is set properly before launching the freesurfer command (the system should check that first). I'm not sure if when launching certain commands, freesurfer creates new shells that don't have the variable set properly, which breaks it. I set mine at shell invocation using /etc/csh.cshrc.local and so that may make the difference, but as you say, it is risky to override the system libcrypt.so
Thanks
Nick
On 06/12/2013 02:53 AM, Claus Svarer wrote:
Thank you for all the answers, I am sure it has something to do with this crypt shared library as when I replace the /lib64/libcrypt.so with the OpenSuse 12.1 version tkmedit can start. This is though a bit risky as there may be other routines including the operating system, that uses the new updated library.
Unfortunately, the proposed solution about copying the libcrypt.so to freesurfer/lib and then add that path to the $LD_LIBRARY_PATH does not work. Any other idea about how to make the old libcrypt.so accessible to freesurfer routines?
Thanks Claus
On 11-06-2013 20:00, Z K wrote:
Thank you Nick for informing the list of this workaround.
-Zeke
On 06/11/2013 01:48 PM, Nick Jones wrote:
Regarding any license issue under Opensuse 12.3 and the libcrypt incompatibility.
So grab a libcrypt from an older opensuse (one where freesurfer was working, for me, I used libcrypt.so from 11.3, but 12.1 may be a better candidate if it works). Place it somewhere ($FREESURFER_HOME/lib is a good candidate), then add the location to the LD_LIBRARY_PATH environment variable so that freesurfer finds the old libcrypt.
There is another workaround but you must contact Nick Schmansky, I don't remember the details.
Thanks
Nick
The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.