Library libstdc++.so.6

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Library libstdc++.so.6

Postby HaroldVasquez » Tue Feb 23, 2016 1:36 pm

Dear sirs,

I just installed dynare 4.4.3 in Ubuntu 15.10, and running in Matlab R2015b. When I try to run dynare, for a basic new-Keynesian close economy model, I get the following error:

/usr/lib/dynare/matlab/dynare_m: /usr/local/MATLAB/R2015b/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/dynare/matlab/dynare_m)
/usr/lib/dynare/matlab/dynare_m: /usr/local/MATLAB/R2015b/sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/dynare/matlab/dynare_m)
Error using dynare (line 182)
DYNARE: preprocessing failed

I have tried to search and find those libraries but I have not been successful. Please, advice.
Harold
HaroldVasquez
 
Posts: 3
Joined: Tue Feb 23, 2016 1:31 pm

Re: Library libstdc++.so.6

Postby HaroldVasquez » Tue Feb 23, 2016 4:09 pm

Problem solve just following two steps:
1. Locate the folder: /matlab/sys/os/glnxa64/
2. Rename the library to eliminate the conflic:
sudo mv libstdc++.so.6 libstdc++.so.6.orig
(this effectively deletes libstdc++.so.6, but keeps a backup at libstdc++.so.6.orig in case you ever need it)
HaroldVasquez
 
Posts: 3
Joined: Tue Feb 23, 2016 1:31 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 16 guests