Failure to run dynare v4 on Debian


Every time I try to run Dynare v4 on a computer running Debian 4.0 I get the following error message:

/opt/matlab/toolbox/dynare_v4/matlab/dynare_m: /opt/matlab/sys/os/glnx86/ version `GLIBCXX_3.4.9' not found (required by /opt/matlab/toolbox/dynare_v4/matlab/dynare_m)

??? Error using ==> dynare at 82
DYNARE: preprocessing failed

From what I read in the error message I suppose there is some conflict between Matlab C-libraries and those that I’ve used to compile the mex files but have no idea how to deal with this. I should probably also mention that during the compilation of the mex files (executing build_matlab) I got a warning that my gcc compiler were 4.3.1 while Dynare v4 was tested against 4.0 to 4.1.
Any ideas would greatly be appreciated!

The error you get comes from the fact that the C++ libraries provided by Matlab are too old, and create a problem with the preprocessor.

See the following page for more explanations and two possible solutions: … eprocessor

Also note that we now provide packaged versions of Dynare for Debian users (for Debian “Lenny”, but not for Debian “Etch”), which can save you the burden of compilation and version upgrading.

See: … anOrUbuntu