Bug 229342 - graphics/okular cannot run with /usr/local/lib/qt5/libQt5Network.so.5: Undefined symbol "_ZTI14QObjectPrivate@Qt_5_PRIVATE_API"
Summary: graphics/okular cannot run with /usr/local/lib/qt5/libQt5Network.so.5: Undefi...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-26 13:46 UTC by Masachika ISHIZUKA
Modified: 2018-06-27 05:59 UTC (History)
3 users (show)

See Also:
tcberner: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Masachika ISHIZUKA 2018-06-26 13:46:47 UTC
After I did 'pkg upgrade' on 12.0-CURRENT r335612, okular cannot run with /usr/local/lib/qt5/libQt5Network.so.5: Undefined symbol "_ZTI14QObjectPrivate@Qt_5_PRIVATE_API".

I think bug 229249 and bug 229140 are the same errors.

# pkg info okular
okular-18.04.2_2
Name           : okular
Version        : 18.04.2_2
Installed on   : Mon Jun 25 15:26:37 2018 JST
Origin         : graphics/okular
Architecture   : FreeBSD:12:amd64
Prefix         : /usr/local
Categories     : kde-applications kde graphics
Licenses       : GPLv2
Maintainer     : kde@FreeBSD.org
WWW            : http://kpdf.kde.org
Comment        : KDE universal document viewer
Shared Libs required:
  [snip]
Annotations    :
        FreeBSD_version: 1200069
        repo_type      : binary
        repository     : FreeBSD
Flat size      : 14.3MiB
  [snip]
Comment 1 Adriaan de Groot freebsd_committer freebsd_triage 2018-06-26 15:09:16 UTC
On IRC last night there was a similar report.

```
"_ZN14QLocalePrivate17getLangAndCountryERK7QStringRN7QLocale8LanguageERNS3_6ScriptERNS3_7CountryE@Qt_5_PRIVATE_API"

FreeBSD x230 12.0-CURRENT FreeBSD 12.0-CURRENT #35 r335557: Fri Jun 22 14:16:52 -03 2018     root@x230:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG  amd64
```

The workaround was to (force) reinstall qt5-* packages.
Comment 2 Masachika ISHIZUKA 2018-06-27 05:59:33 UTC
(In reply to Adriaan de Groot from comment #1)

Thank you.

This issue was fixed by reinstalling qt5-* packages as follow.

# pkg info | grep ^qt5 | sed 's/ .*//' | xargs pkg install -fy