Matlab Kalman /usr/bin/ld: cannot find -lstdc++

bitcold picture bitcold · Nov 2, 2012 · Viewed 32.7k times · Source

I'm following the Matlab coder kalman tutorial in Matlab help. When using codegen, there's an error as below:

/usr/bin/ld: cannot find -lstdc++

collect2: ld returned 1 exit status

But there is libstdc++.so.6 in /lib/ and /usr/lib

Answer

JonnyRo picture JonnyRo · Feb 22, 2013

For Fedora 16 use:

sudo yum install libstdc++-static