Page 1 of 1

Launching dynare with matlab - Ubuntu

PostPosted: Wed Jan 18, 2012 1:37 pm
by angiea33
Hi! I am Angela a new user. I have installed dynare, dynare-matlab and dynare-doc and I would like to get started but it seems that I do not manage to run launch dynare. I get the following error message which I do not understand. Could someone help me?

/usr/lib/dynare/matlab/dynare_m: /usr/local/MATLAB/R2011a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /usr/lib/dynare/matlab/dynare_m)
/usr/lib/dynare/matlab/dynare_m: /usr/local/MATLAB/R2011a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib/dynare/matlab/dynare_m)

Plus..
Warning: Name is nonexistent or not a directory:
/usr/lib/dynare/matlab/../mex/matlab.


Thx, Angela

Re: Launching dynare with matlab - Ubuntu

PostPosted: Mon Feb 13, 2012 4:30 pm
by SébastienVillemot
angiea33 wrote:/usr/lib/dynare/matlab/dynare_m: /usr/local/MATLAB/R2011a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /usr/lib/dynare/matlab/dynare_m)
/usr/lib/dynare/matlab/dynare_m: /usr/local/MATLAB/R2011a/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /usr/lib/dynare/matlab/dynare_m)


Simply rename (or even delete) the offendingfile in {{{/usr/local/MATLAB}}}: the point here is that MATLAB ships copies of standard libraries which conflict with Ubuntu's.

angiea33 wrote:Warning: Name is nonexistent or not a directory:
/usr/lib/dynare/matlab/../mex/matlab.

Looks like your MEX files did not compile correctly. You could try to compile them again with:
Code: Select all
sudo dpkg-reconfigure dynare-matlab


By the way, what is your version of Ubuntu, and where did you get the Dynare packages from (official Ubuntu repositories or Dynare repositories)?