Usage of pcreposix.so from FreeDesktop SDK #476

Closed
aleixpol opened this Issue Jan 9, 2017 · 4 comments

Projects

None yet

2 participants

@aleixpol
aleixpol commented Jan 9, 2017

Our KDE Runtime is using the pcreposix.so binary, when our applications link to it, we get an error such as:
bugs.kde.org/show_bug.cgi?id=374358

Now I understand the solution would be to include this library together with the platform, because the FreeDesktop platform is only including the binary in the SDK and not the Runtime.

I wonder if we should be getting a build error or something. After all, we're distributing a binary with unmet dependencies:

$ ldd /app/lib64/plugins/okularpart.so | grep pcreposix
        libpcreposix.so.0 => not found
@alexlarsson
Member

It seems like the platform only includes libpcre, but the sdk has libpcre-dev, which pulls in also libpcreposix and libpcrecpp. I guess we should add those to the platform manually.

@alexlarsson alexlarsson added a commit to flatpak/freedesktop-sdk-base that referenced this issue Jan 12, 2017
@alexlarsson alexlarsson Add libpcrecpp libpcreposix to platform b5b3ace
@alexlarsson
Member

I pushed a fix for this, lets see if it builds.

@aleixpol

Brilliant, thanks!

@alexlarsson
Member

Should be in now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment