Hi Lilla, Thank you for your reply. I have boost installed, yet it is not the version required (v. 1.49). Although, even after installing an older version such as the 1.41 it is not straightforward to use this libboost with freesurfer. The doc from libboost is not easy to understand and even if done correctly you will not be able to use this installation as there is no libboost_program_options.so.5. Nevertheless, I got it to work so here goes the solution that worked for me.
>Download libboost v. 1.41 and untar >cd libboost_folder >mkdir libraries >./bootstrap.sh --prefix=./libraries >./bjam install >cd libraries/lib > ln -s libboost_program_options.so.1.41.0 libboost_program_options.so.5 >export LD_LIBRARY_PATH=.../boost_temp/boost_1_41_0/libraries/lib:$LD_LIBRARY_PATH Cheers, Andre Santos Ribeiro On Wed, Nov 27, 2013 at 5:19 PM, Lilla Zollei <lzol...@nmr.mgh.harvard.edu>wrote: > > Hi Andre, > > I posted the below on Monday on the list: > > The boost library is installed by default on CentOS platforms. If a user > gets the libboost error then they are using a different platform which > doesn't have boost installed by default. On RedHat systems libboost can be > installed by typing the follwing command: > $>yum install boost-devel" > > The version of libboost that we use for our latest release is 1.41. > > I hope that helps, > > --Lilla > > > On Wed, 27 Nov 2013, André Ribeiro wrote: > > Dear freesurfer experts, >> >> when running the createMorph function an error of shared libraries occur. >> >> createMorph: error while loading shared libraries: >> libboost_program_options.so.5: cannot open shared object file: No such file >> or directory >> >> I searched for such shared library and although I have a different >> version I do not have this specific. >> >> /usr/lib/libboost_program_options-mt.so >> /usr/lib/libboost_program_options.so.1.49.0_orig >> /usr/lib/libboost_program_options-mt.a >> /usr/lib/libboost_program_options.so >> /usr/lib/libboost_program_options.so.1.49.0 >> /usr/lib/libboost_program_options.a >> >> Updating the libboost did not worked and I couldn’t find any useful >> suggestion on the web. >> >> I am running freesurfer under Ubuntu 13.04 I would appreciate any >> suggestion. >> >> Cheers, >> Andre Santos Ribeiro >> >> >> >> > > 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. >
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer 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.