Compiling under openSUSE Tumbleweed

David Rosca nowrep at gmail.com
Mon Jun 17 09:36:27 BST 2019


On Sun, Jun 16, 2019 at 5:08 PM Theo <alpha0x89 at yahoo.de> wrote:
>
> On Sun, June 16, 2019, 06:57 UTC David Rosca <nowrep at gmail.com> wrote:
>
> > On Sat, Jun 15, 2019 at 7:30 PM Theo <alpha0x89 at yahoo.de> wrote:
> >>
> >> On Sat, June 15, 2019, 06:33 UTC David Rosca <nowrep at gmail.com> wrote:
> >>
> >>> On Sat, Jun 15, 2019 at 8:29 AM Theo <alpha0x89 at yahoo.de> wrote:
> >>>>
> >>>> On Thu, June 13, 2019, 05:28 UTC David Rosca <nowrep at gmail.com> wrote:
> >>>>
> >>>> Yes, falkon:config lists /opt/falkon/share/falkon/plugins as one of the
> >>>> extensions paths. But no, my Falkon doesn't actually try to load the
> >>>> extensions from there: (without the link from
> >>>> /usr/local/lib64/plugins/falkon)
> >>>
> >>> It will only try to lookup available plugins when needed, not on
> >>> startup. If you open preferences it will.
> >>
> >> It loads all my enabled extensions on startup. With the link from
> >> /usr/local/lib64/plugins/falkon or with
> >> FALKON_PLUGIN_PATH=/opt/falkon/lib64/plugins/falkon, the extensions are
> >> loaded on startup, indicated by the terminal message "Falkon: 7
> >> extensions loaded" (and by strace messages). Without the link or the
> >> environment variable, I only get "Falkon: 1 extensions loaded" and
> >> Preferences only shows AdBlock available.
> >
> > Again, it does load plugins from *all* paths you see in falkon:config.
> > In your last email, you were grepping wrong string: plugins were
> > installed in /opt/falkon/share/falkon/plugins and you were grepping
> > "plugins/falkon".
>
> You are right, grepping for falkon/plugins gives messages for all paths
> listed under falkon:config, except /usr/local/lib64/plugins/falkon, of
> course.
>
> > If you don't post full logs I can't help you.
>
> I think all relevant information has been posted, but until now I have
> blindly missed the discrepancy between the path
> /opt/falkon/share/falkon/plugins listed under falkon:config and the path
> /opt/falkon/lib64/plugins/falkon where the plugins have been actually
> installed by 'make install'. So the real questions is whether this
> mismatch is a problem with my system or a bug in the install procedure
> of Falkon.

I now tried:

$ git clone git://anongit.kde.org/falkon.git
$ cd falkon
$ mkdir build && cd build
$ cmake -DCMAKE_INSTALL_PREFIX=/opt/falkon -DCMAKE_BUILD_TYPE=None ..
$ make && sudo make install
$ /opt/falkon/bin/falkon

and everything works as expected, it loads plugins from
/opt/falkon/lib64/plugins/falkon.

Any chance you actually first run cmake without (or with different)
CMAKE_INSTALL_PREFIX and then changed it?

>
> >>>>> Most likely the issue is that the falkon binary loads the system
> >>>>> libFalkonPrivate instead of the one in /opt/falkon (due to /opt/falkon
> >>>>> not being in ld.so paths).
> >>>>
> >>>> $ lsof | grep libFalkonPrivate
> >>>>
> >>>> only lists
> >>>>
> >>>> /opt/falkon/lib64/libFalkonPrivate.so.3.1.99
>
> >>>> $ export FALKON_PLUGIN_PATH=/opt/falkon/lib64/plugins/falkon
> >>>>
> >>>> makes Falkon load the extensions from /opt/falkon and falkon:config
> >>>> shows that path as the only extensions path.


More information about the Falkon mailing list