# Failure to run dynare v4 on Debian

**URL:** <https://forum.dynare.org/t/failure-to-run-dynare-v4-on-debian/744>\
**Category:** Dynare v4 (legacy)\
**Created:** [8 July 2008 20:14 UTC](https://forum.dynare.org/t/failure-to-run-dynare-v4-on-debian/744 "2008-07-08T20:14:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![atanas](https://forum.dynare.org/letter_avatar_proxy/v4/letter/a/e9c0ed/32.png) [@atanas](https://forum.dynare.org/u/atanas)\
**Post date:** [8 July 2008 20:14 UTC](https://forum.dynare.org/t/failure-to-run-dynare-v4-on-debian/744/1 "2008-07-08T20:14:34Z")

</div>

Hi,

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

```auto
/opt/matlab/toolbox/dynare_v4/matlab/dynare_m: /opt/matlab/sys/os/glnx86/libstdc++.so.6: 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!

---

<div class="post-metadata">

**Author:** ![sebastien](https://forum.dynare.org/user_avatar/forum.dynare.org/sebastien/32/19973_2.png) [@sebastien](https://forum.dynare.org/u/sebastien)\
**Post date:** [12 July 2008 11:08 UTC](https://forum.dynare.org/t/failure-to-run-dynare-v4-on-debian/744/2 "2008-07-12T11:08:09Z")

</div>

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:  
[cepremap.cnrs.fr/DynareWiki/ … eprocessor](http://www.cepremap.cnrs.fr/DynareWiki/BuildingPreprocessor)

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:  
[cepremap.cnrs.fr/DynareWiki/ … anOrUbuntu](http://www.cepremap.cnrs.fr/DynareWiki/InstallOnDebianOrUbuntu)

Best

Sébastien

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [24 July 2017 13:36 UTC](https://forum.dynare.org/t/failure-to-run-dynare-v4-on-debian/744/3 "2017-07-24T13:36:59Z")

</div>

Closed on 24 July 2017 13:36 UTC


