Any way to fix '/usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11 required by ... not found'?

Dmitry Marakasov amdmi3 at amdmi3.ru
Fri Aug 13 00:54:11 UTC 2010


Hi!

I'm trying to update graphics/lightspark-devel port to the latest
version, and it's firefox plugin now doesn't load. The supposed reason
for that is that the plugin is build with gcc 4.4+ (as it uses c++0x
features), and firefox is built with our default gcc 4.2, thus libstdc++
versions doesn't match -> dlopen fails.

LoadPlugin: failed to initialize shared library /usr/local/lib/browser_plugins/lightspark-devel/liblightsparkplugin.so [/usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11 required by /usr/local/lib/browser_plugins/lightspark-devel/liblightsparkplugin.so not found]

Is there a way to fix that, maybe some linker magic?

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amdmi3 at amdmi3.ru  ..:  jabber: amdmi3 at jabber.ru    http://www.amdmi3.ru


More information about the freebsd-hackers mailing list