https://bugs.kde.org/show_bug.cgi?id=402512
Nate Graham changed:
What|Removed |Added
Status|REPORTED|RESOLVED
Resolution|---
https://bugs.kde.org/show_bug.cgi?id=402512
--- Comment #5 from Nate Graham ---
Right, I didn't use LD_LIBRARY_PATH, which is only applicable at runtime
anyway, not compile-time.
Unfortunately I can no longer reproduce the issue after unsetting all the
variables set by prefix.sh and reverting
https://bugs.kde.org/show_bug.cgi?id=402512
--- Comment #4 from Michael Pyne ---
Also wanted to follow up to note that the Stack Overflow answer mentions using
LD_LIBRARY_PATH, which we've documented in KF5 that you should *not* use. All
KF5/Plasma5 software should successfully link without
https://bugs.kde.org/show_bug.cgi?id=402512
--- Comment #3 from Michael Pyne ---
That's interesting, because although there's some checks in kdesrc-build for
libraries in /usr, it's uniformly to try to *avoid* having libraries in /usr
override the defined prefix (which we've seen before as
https://bugs.kde.org/show_bug.cgi?id=402512
--- Comment #2 from Nate Graham ---
Sourcing one of the autogenerated prefix.sh files before running kdesrc-build
worked around the issue, presumably because that appends the local lib
directory to $QT_PLUGIN_PATH.
--
You are receiving this mail
https://bugs.kde.org/show_bug.cgi?id=402512
--- Comment #1 from Nate Graham ---
See also
https://stackoverflow.com/questions/2726993/how-to-specify-preference-of-library-path
--
You are receiving this mail because:
You are watching all bug changes.