Quick fix for making dynare work on a Fedora 64bit Linux system.
After following the installation instructions available here, you need to change some symbolic links of your Matlab C libraries in order to avoid errors like: “/usr/local/matlab/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.9′ not found” when executing a .mod file.
In particular, type from shell:
# cd /usr/local/matlab/sys/os/glnxa64/
# sudo mv libgcc_s.so.1 libgcc_s.so.1_back
# sudo ln -s /lib64/libgcc_s.so.1 libgcc_s.so.1
# sudo mv libstdc++.so.6 libstdc++.so.6_back
# sudo ln -s /usr/lib64/libstdc++.so.6.0.13 libstdc++.so.6
Then, launch Matlab and type:
# addpath /yourDynareSourceFolder/matlab
In Octave, you simply need to do this last step – i.e. run Octave from shell and type:
# addpath /yourDynareSourceFolder/matlab
Huabin said:
Great! Thanks man, you saved my life.