Bug 140049

Summary: [EFL][WK2] EFL MiniBrowser doesn't run because shared library is not found
Product: WebKit Reporter: Gyuyoung Kim <gyuyoung.kim>
Component: WebKit EFLAssignee: Csaba Osztrogonác <ossy>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, ljaehun.lim, lucas.de.marchi, ossy, p.forysiuk, sanxiyn
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=200074
Attachments:
Description Flags
Patch none

Gyuyoung Kim
Reported 2015-01-02 22:33:53 PST
EFL MiniBrowser can't be executed until we set DependenciesEFL/Root/lib to LD_LIBRARY_PATH. I guess this problem happened when we changed "Dependencies" directory to "DependenciesEFL" directory. WebKitBuild/Release/bin/MiniBrowser: error while loading shared libraries: libecore_input.so.1: cannot open shared object file: No such file or directory
Attachments
Patch (1.35 KB, patch)
2015-01-20 07:51 PST, Csaba Osztrogonác
no flags
Jaehun Lim
Comment 1 2015-01-02 23:18:02 PST
This is because elementary doesn't find other EFL libraries after jhbuild. I think we need to set rpath when jhbuild builds elementary.
Paweł Forysiuk
Comment 2 2015-01-14 02:53:22 PST
I cannot reproduce this with the current checkout.
Gyuyoung Kim
Comment 3 2015-01-14 19:55:29 PST
(In reply to comment #2) > I cannot reproduce this with the current checkout. I have still this problem. Didn't you set anything in your environment ?
Csaba Osztrogonác
Comment 4 2015-01-14 22:31:21 PST
It works with Tools/Scriptrs/run-launcher --efl
Paweł Forysiuk
Comment 5 2015-01-14 23:41:31 PST
(In reply to comment #3) > I have still this problem. Didn't you set anything in your environment? No I did not set up anything myself just had clean WebKitBuild folder. Just to note I use Ubuntu 14.04 but I doubt it matters here.
Jaehun Lim
Comment 6 2015-01-14 23:47:20 PST
(In reply to comment #5) > (In reply to comment #3) > > I have still this problem. Didn't you set anything in your environment? > > No I did not set up anything myself just had clean WebKitBuild folder. > Just to note I use Ubuntu 14.04 but I doubt it matters here. Do you install efl and elementary on your system ? If you did, MiniBrowser runs with your system efl or elementary. Please check with ldd.
Paweł Forysiuk
Comment 7 2015-01-15 00:13:34 PST
(In reply to comment #6) > (In reply to comment #5) > > (In reply to comment #3) > > > I have still this problem. Didn't you set anything in your environment? > > > > No I did not set up anything myself just had clean WebKitBuild folder. > > Just to note I use Ubuntu 14.04 but I doubt it matters here. > > Do you install efl and elementary on your system ? > If you did, MiniBrowser runs with your system efl or elementary. > > Please check with ldd. I'm gonna burn in shame now :(. Yes I had efl installed some time ago for something unrelated and forgot. I looked at ldd but somehow overlooked the so path before. Sorry again. I will try to investigate this a bit more.
Paweł Forysiuk
Comment 8 2015-01-20 07:06:57 PST
Looks like this was introduced in r176442 "[CMake] Use ld.gold if it is available to speedup builds" ​https://bugs.webkit.org/show_bug.cgi?id=137953 After reverting this commit and rebuilding sources Minibrowser launches properly.
Csaba Osztrogonác
Comment 9 2015-01-20 07:11:06 PST
Maybe bug139126 fixes the issue. Could you check it?
Paweł Forysiuk
Comment 10 2015-01-20 07:45:07 PST
(In reply to comment #9) > Maybe bug139126 fixes the issue. Could you check it? Yes. I can confirm that applying that patch fixes the issue on my machine.
Csaba Osztrogonác
Comment 11 2015-01-20 07:51:23 PST
Csaba Osztrogonác
Comment 12 2015-01-20 07:51:52 PST
*** Bug 139126 has been marked as a duplicate of this bug. ***
Jaehun Lim
Comment 13 2015-01-20 16:41:34 PST
(In reply to comment #10) > (In reply to comment #9) > > Maybe bug139126 fixes the issue. Could you check it? > > Yes. I can confirm that applying that patch fixes the issue on my machine. It works for me. Thanks.
Gyuyoung Kim
Comment 14 2015-01-21 01:32:35 PST
Comment on attachment 244993 [details] Patch rs=me
WebKit Commit Bot
Comment 15 2015-01-21 02:20:51 PST
Comment on attachment 244993 [details] Patch Clearing flags on attachment: 244993 Committed r178823: <http://trac.webkit.org/changeset/178823>
WebKit Commit Bot
Comment 16 2015-01-21 02:20:57 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.