Ubuntu 18.04中SQLiteBrowser无法启动,缺失Qt5类库求助
Hey there! I’ve run into this exact issue before with Qt-based apps on Ubuntu, so let’s get you up and running with SQLiteBrowser quickly.
The error messages you’re seeing (libQt5Network.so.5: cannot open shared object file, etc.) mean the app can’t find the core Qt5 libraries it depends on. Here’s how to fix it:
Step 1: Update your package list first
Always start with updating your system’s package index to make sure you’re pulling the latest available versions:
sudo apt update
Step 2: Install the missing Qt5 libraries
You can install the specific libraries you’ve identified directly. Run this command to cover the ones you mentioned (and a few other core Qt5 libraries that are likely needed too):
sudo apt install libqt5network5 libqt5widgets5 libqt5gui5 libqt5core5a
This will download and install all the required shared objects SQLiteBrowser needs to run.
Step 3: Test if SQLiteBrowser launches
Once the installation finishes, try running the app again from the terminal:
sqlitebrowser
It should start up normally now.
If the above doesn’t work: Reinstall SQLiteBrowser
Sometimes dependencies can get messed up during initial installation. A clean reinstall will ensure all required packages are pulled in automatically:
sudo apt remove --purge sqlitebrowser sudo apt install sqlitebrowser
That should resolve the library missing error. The root cause here is usually incomplete dependency installation—either during the initial SQLiteBrowser setup, or if Qt5 libraries were accidentally removed from your system.
内容的提问来源于stack exchange,提问作者pezet

