So, here we go!:įirst install Subversion and get the code from the repository : Before that, try to remove all the symbolic links previously done or already existing before the error, and revert all the stuff you have done until now. You won't probably have that, but if you have libstdc++.so.6.0.15 (or whatever) in other folder just change this folder. Note that gcc/build/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so.6.0.15 is the trunk compiled from the GCC. Update symbolic links $ sudo cp gcc/build/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so.6.0.15 /usr/lib/ Eventhough MATLAB includes that library within its files.īefore testing every solution, be sure to close Matlab and open it again. My case was much harder: I was using mex files, and those mex files were compiling OK but when running the me圆4a files MATLAB was not able to find that library. This solution could fix the problem of running external programs from Matlab, such as GNUplot. When solving the previous error, the same error appeared but in another folder, so just recreate the symbolic link with the proper folder and in will work without doing all the following stuff (don't care about versions, I was doing this in other pc): So now you have information enough to "update" the link you the libstdc++.so.6 by creating a symbolic link: The simplest solution is to check where is linked the following file : It seems that this library libstdc++.so.6 is compiled but not installed when installing GCC ( ).Īnother problem could be that the version of libstdc++.so.6 is so old so your version of GLIBCXX is older that the one you are required. MATLAB/R2011a/sys/os/glnx86/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ) When using Matlab and external programs or mex compiled functions it can occur that: NOTE: All this was done in Ubuntu 12.04 64 bits.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |