[SailfishDevel] booster loading wrong libstdc++

rinigus rinigus.git at gmail.com
Mon Sep 11 10:47:08 UTC 2017


That's what I thought I did already by using "-fabi-version=8
--with-default-libstdcxx-abi=gcc4-compatible" while compiling gcc.
Obviously, something is still off. Maybe linking with /usr/bin/g++ would
help as well. Would have to look into it in future.

Rinigus


On Mon, Sep 11, 2017 at 12:43 PM, Timur Kristóf <timur.kristof at gmail.com>
wrote:

> You could also try to use the older ABI with your version of GCC and
> see if the booster works with that.
>
> On Mon, Sep 11, 2017 at 9:48 AM, rinigus <rinigus.git at gmail.com> wrote:
> > Hi,
> >
> > I am using gcc-6.4.0
> > (https://build.merproject.org/package/show/home:rinigus:toolbox/opt-gcc)
> for
> > porting/developing C++14 application. Since gcc is compiled with the
> > compatibility switches, it all works quite nicely except that the
> > application does not start from the application grid - I have to launch
> it
> > from the terminal. Namely, since I use gcc-6.4.0 provided libstdc++, my
> > application has this library under /usr/shared/appname/lib directory.
> > Unfortunately, when I launch the app in the grid, it gets "boosted" with
> the
> > booster that uses /usr/lib/stdc++.so.6 library. From emulating this
> launch
> > in terminal (wisdom of @coderus TJC):
> >
> > xdg-open /usr/share/applications/some-application.desktop
> >
> > Failed to invoke: Booster: Loading invoked application failed:
> > '/usr/lib/stdc++.so.6: version `CXXABI_1.3.8` not found (required by
> ...)'
> >
> > Hence the question: how can I disable the booster in xdg-open launch of
> my
> > application? Or any other workaround?
> >
> > Best wishes,
> >
> > Rinigus
> >
> > _______________________________________________
> > SailfishOS.org Devel mailing list
> > To unsubscribe, please send a mail to devel-unsubscribe at lists.
> sailfishos.org
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe at lists.
> sailfishos.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20170911/4f203788/attachment.html>


More information about the Devel mailing list