(In reply to C.M.Chang[:chunmin] from comment #22) > maybe libvpx should be loaded by a shared library instead of being built as a static library (need to run `./configure` in libvpx repo with `--enable-shared --disable-static`). Using shared library can pass the build, but when it fails when running `./mach run` ``` 0:00.40 /home/cm/Work/gecko-dev/obj-x86_64-pc-linux-gnu/dist/bin/firefox -no-remote -profile /home/cm/Work/gecko-dev/obj-x86_64-pc-linux-gnu/tmp/profile-default XPCOMGlueLoad error for file /home/cm/Work/gecko-dev/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so: libvpx.so.8: cannot open shared object file: No such file or directory Couldn't load XPCOM. ```
Bug 1875201 Comment 23 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
(In reply to C.M.Chang[:chunmin] from comment #22) > maybe libvpx should be loaded by a shared library instead of being built as a static library (need to run `./configure` in libvpx repo with `--enable-shared --disable-static`). Using shared library can pass the build, but when it fails when running `./mach run` ``` 0:00.40 /home/cm/Work/gecko-dev/obj-x86_64-pc-linux-gnu/dist/bin/firefox -no-remote -profile /home/cm/Work/gecko-dev/obj-x86_64-pc-linux-gnu/tmp/profile-default XPCOMGlueLoad error for file /home/cm/Work/gecko-dev/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so: libvpx.so.8: cannot open shared object file: No such file or directory Couldn't load XPCOM. ``` Not sure why libvpx.so.8 cannot be found. It's in my `/usr/local/lib/` with permission 777. Maybe Firefox try to find libvpx.so.8 in another place?
(In reply to C.M.Chang[:chunmin] from comment #22) > maybe libvpx should be loaded by a shared library instead of being built as a static library (need to run `./configure` in libvpx repo with `--enable-shared --disable-static`). Using shared library can pass the build, but it fails when running `./mach run` ``` 0:00.40 /home/cm/Work/gecko-dev/obj-x86_64-pc-linux-gnu/dist/bin/firefox -no-remote -profile /home/cm/Work/gecko-dev/obj-x86_64-pc-linux-gnu/tmp/profile-default XPCOMGlueLoad error for file /home/cm/Work/gecko-dev/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so: libvpx.so.8: cannot open shared object file: No such file or directory Couldn't load XPCOM. ``` Not sure why libvpx.so.8 cannot be found. It's in my `/usr/local/lib/` with permission 777. Maybe Firefox try to find libvpx.so.8 in another place?
(In reply to C.M.Chang[:chunmin] from comment #22) > maybe libvpx should be loaded by a shared library instead of being built as a static library (need to run `./configure` in libvpx repo with `--enable-shared --disable-static`). Using shared library can pass the build, but it fails when running `./mach run` ``` 0:00.40 /home/cm/Work/gecko-dev/obj-x86_64-pc-linux-gnu/dist/bin/firefox -no-remote -profile /home/cm/Work/gecko-dev/obj-x86_64-pc-linux-gnu/tmp/profile-default XPCOMGlueLoad error for file /home/cm/Work/gecko-dev/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so: libvpx.so.8: cannot open shared object file: No such file or directory Couldn't load XPCOM. ``` Not sure why libvpx.so.8 cannot be found. It's under `/usr/local/lib/` with permission 777. Maybe Firefox try to find libvpx.so.8 in another place?