Date: Fri, 13 Aug 2010 03:07:50 +0000 From: "b. f." <bf1783@googlemail.com> To: freebsd-hackers@FreeBSD.org Cc: Dmitry Marakasov <amdmi3@amdmi3.ru> Subject: Re: Any way to fix '/usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11 required by ... not found'? Message-ID: <AANLkTikqCVeszDioAAqmX2w2wHVo9FtsL01NL5eMvo=d@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
>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_plu=
gins/lightspark->devel/liblightsparkplugin.so [/usr/lib/libstdc++.so.6: ver=
sion 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?
I don't know, since we don't have a dlmopen(). Have you tried using
libmap.conf(5) to use the newer libraries in ${LOCALBASE}/lib/gcc44 ,
rather than their base system counterparts, for firefox? Or using
wrappers that set LD_LIBMAP or LD_LIBRARY_PATH, to attain the same
end? The newer libraries are supposed to be mostly
backwards-compatible with the old.
b.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikqCVeszDioAAqmX2w2wHVo9FtsL01NL5eMvo=d>
