zen-browser / desktop

🌀 Experience tranquillity while browsing the web without people tracking you!
https://zen-browser.app
Mozilla Public License 2.0
11.31k stars 272 forks source link

Updating the browser breaks it #76

Closed diego-velez closed 1 month ago

diego-velez commented 1 month ago

When I update the browser via Help -> About Zen, the browser seems to break, meaning that I cannot open it after it automatically closes after clicking the Restart to Update Zen button.

When manually re-installing fresh and re-running the process from the terminal, I get the following:

ATTENTION: default value of option mesa_glthread overridden by environment.
~/.local/bin/zen/updater: error while loading shared libraries: libmozsqlite3.so: cannot open shared object file: No such file or directory
~/.local/bin/zen/updater: error while loading shared libraries: libmozsqlite3.so: cannot open shared object file: No such file or directory

I'm running the 1.0.0-a.4 (64-bit) version on Fedora 40 Cinnamon.

mauro-balades commented 1 month ago

While I fix this, you can try by going into the browser's directory and run the following commands:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)

and run zen from the command line (./zen) this will make the update work until I try to fix the problem

diego-velez commented 1 month ago

It did not work, I ran export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd) on the terminal, then opened the browser from the terminal, tried to update it, and I'm still getting the same error.

mauro-balades commented 1 month ago

you need to run that command inside the same folder as zen's binary. I need you to confirm you did that.

diego-velez commented 1 month ago

That worked, my apologies.

mauro-balades commented 1 month ago

no problem! Ill try to fix it anyways without having to do any LD path exporting, etc