Hi,

We encountered a similar problem on my team: somethings required
libstdc++.so.6, and the ar libs required libstdc++.so.5.  We were able to
make and run programs even though both versions of libstdc++ were being
loaded, but it caused large memory leaks, and eventual crashes, over time.

We were able to work around the issue by using dlopen() with the RTLD_LOCAL
and RTLD_DEEPBIND flags, and only if we manually loaded all the dependencies
in the right order.  e.g,:

dlopen(libstdc++.so.5)
dlopen(libicu stuff)
dlopen(libar)

Richard


On Fri, Feb 12, 2010 at 11:37 AM, Jill E. Anderson <[email protected]>wrote:

> ** Misi,
>
> On Fri, Feb 12, 2010 at 11:55 AM, Misi Mladoniczky <[email protected]> wrote:
>
>> I have tried the 7.1.0 patch 8 ARAPI, as well as the 7.5.0 patch 4 ARAPI.
>>
>
> We are only at 7.0.01 patch ?? so maybe the API has changed enough to make
> my statements of "no errors" incorrect for your case. :-)
>
>
>> I have installed the libstdc++.so.5 parallel to libstdc++.so.6, and made
>> the linker work, but I get a warning like this.
>>
>> warning: libstdc++.so.5, needed by libicuucbmc.so.32, may conflict with
>> libstdc++.so.6.
>>
>
> Did you install the "paralell" version from the RHEL package
> compat-libstdc++-33 ? With this package, I see no such errors and it
> includes the libstdc++.so.5 shared library. I assume CentOS repositories use
> the same naming convention for the package.
>
> I can't advise what the equivalent package is named on other distributions
> like Ubuntu.
>
> Good luck.
>
> Jill Anderson
> _Platinum Sponsor: [email protected] ARSlist: "Where the Answers
> Are"_

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor:[email protected] ARSlist: "Where the Answers Are"

Reply via email to