linux - Trying to find and install libstdc++.so.5 to run C++ with mex for MATLAB -
i using bgl libraries matlab found here on fileexchange. error when using function library under ubuntu 10.04 lts (this error did not occur under windows, worked normally).
??? invalid mex-file '/home/alex/documents/matlab/matlabsvnworkingdir/bloom/graphanalysis/analysisattempt2/functi onsdownloaded/matlab_bgl-4.0.1/matlab_bgl/private/components_mex.mexglx': libstdc++.so.5: cannot open shared object file: no such file or directory. error in ==> components @ 42 [ci sizes] = components_mex(a); error in ==> modularize_graphs_alex_hugemats_blondelcode @ 16 [comnts,~] = components(graph);
the whole problem appears libstdc++.so.5
. cannot find in synatpic package manager. there thread discusses problem have tried steps without progress.
i tried solution listed here:
alex@alex-laptop:~/desktop$ sudo apt-get install libstdc++.so.5 reading package lists... done building dependency tree reading state information... done e: couldn't find package libstdc++.so.5 alex@alex-laptop:~/desktop$
i have tried other solutions found on web nothing fixed problem.
try using
sudo apt-get install libstdc++5
this should install package, including libs needed.
Comments
Post a Comment