Today while I was updating py27-m2crypto
package on FreeBSD 10 using portmaster
, the following error message was displayed:
Shared object "libstdc++.so.6" not found, required by "swig"
Fortunately, someone else has found the problem and solution before me. According this blog post, FreeBSD 10 includes a new C++ stack and gcc, including libstdc++
, is not installed by default.
Therefore, to fix the missing this libstdc++.so.6
issue, we need to install lang/gcc
.
If you use portmaster, the command to install lang/gcc
is:
# portmaster lang/gcc
Credit: http://www.laszlopusztai.net/2014/01/26/running-perforce-on-freebsd-10/