error with 32-bit library on ubuntu 8.10

Asked by David Gleich

A user reported that with Matlab R2009a and 32-bit/i686 Ubuntu 8.10 he received the following error

clustering_coefficients(sparse(ones(5)))

??? Invalid MEX-file '/home/user/matlab_bgl/private/clustering_coefficients_mex.mexglx':

libstdc++.so.5: cannot open shared object file: No such file or directory.

Question information

Language:
English Edit question
Status:
Solved
For:
Matlab BGL Edit question
Assignee:
No assignee Edit question
Solved by:
David Gleich
Solved:
Last query:
Last reply:
Revision history for this message
David Gleich (dgleich) said :
#1

Ubuntu 8.10 doesn't include libstdc++.so.5 by default.

You need to apt-get it

sudo apt-get install libstdc++.so.5