** (WPEWebProcess:6695): WARNING **: Error loading the injected bundle (/usr/local/lib64/wpe-webkit-0.1/injected-bundle/libWPEInjectedBundle.so): /usr/local/lib64/wpe-webkit-0.1/injected-bundle/libWPEInjectedBundle.so: cannot open shared object file: No such file or directory
It's bonkers that we never noticed this with WebKitGTK+, but we always load the installed injected bundle, never the built version.
Not a problem for GTK. GTK MiniBrowser uses WEBKIT_INJECTED_BUNDLE_PATH to control this.
Created attachment 338777 [details]
Comment on attachment 338777 [details]
Clearing flags on attachment: 338777
Committed r231021: <https://trac.webkit.org/changeset/231021>
All reviewed patches have been landed. Closing bug.
Why is LD_LIBRARY_PATH set only for WPE?
(In reply to Philippe Normand from comment #5)
> Why is LD_LIBRARY_PATH set only for WPE?
It should not be needed because for ELF binaries, CMake sets rpath to point to the build directory when linking (and then zeros it at install time). Otherwise, nothing built by CMake would work before it's installed.