We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
Albert25
5 years agoHelpful | Level 5
Headless install on Debian: libglapi.so.0: cannot open shared object file
I tried this on support, but didn't get a useful reply, so I hope someone here knows the answer.
On a Linux Debian 10 ("buster") headless server, I tried to follow the instructions at https://www...
- 5 years ago
Hello Albert25 ,
I just tried and made it work today on Ubuntu Server 18.04.4 LTS. As mentioned, the requirements are not fully met by default, so here is the list of what I had to additionally install (you probably alreayd have libc6):
sudo apt-get install libc6 sudo apt-get install libglapi-mesa sudo apt-get install libxdamage1 sudo apt-get install libxfixes3 sudo apt-get install libxcb-glx0 sudo apt-get install libxcb-dri2-0 sudo apt-get install libxcb-dri3-0 sudo apt-get install libxcb-present0 sudo apt-get install libxcb-sync1 sudo apt-get install libxshmfence1 sudo apt-get install libxxf86vm1
After that, I had to make sure of the following:
sudo chown "$USER" "$HOME" sudo chown -R "$USER" ~/Dropbox ~/.dropbox sudo chattr -R -i ~/Dropbox sudo chmod -R u+rw ~/Dropbox ~/.dropbox
and that seemed to do the trick. You may need to adapt few things here and there.
Hope it helps.
Salvo
salven
5 years agoHelpful | Level 6
Hello Albert25 ,
I just tried and made it work today on Ubuntu Server 18.04.4 LTS. As mentioned, the requirements are not fully met by default, so here is the list of what I had to additionally install (you probably alreayd have libc6):
sudo apt-get install libc6 sudo apt-get install libglapi-mesa sudo apt-get install libxdamage1 sudo apt-get install libxfixes3 sudo apt-get install libxcb-glx0 sudo apt-get install libxcb-dri2-0 sudo apt-get install libxcb-dri3-0 sudo apt-get install libxcb-present0 sudo apt-get install libxcb-sync1 sudo apt-get install libxshmfence1 sudo apt-get install libxxf86vm1
After that, I had to make sure of the following:
sudo chown "$USER" "$HOME" sudo chown -R "$USER" ~/Dropbox ~/.dropbox sudo chattr -R -i ~/Dropbox sudo chmod -R u+rw ~/Dropbox ~/.dropbox
and that seemed to do the trick. You may need to adapt few things here and there.
Hope it helps.
Salvo
- David M.835 years agoNew member | Level 2
For the lazy
sudo apt install libc6 libglapi-mesa libxdamage1 libxfixes3 libxcb-glx0 libxcb-dri2-0 libxcb-dri3-0 libxcb-present0 libxcb-sync1 libxshmfence1 libxxf86vm1
- eposthumus5 years agoNew member | Level 2
And for those that want a minimal set of packages, as to not pollute your server too much with unneeded packages.
On Ubuntu 18.04 I needed:
sudo apt install libglapi-mesa libxcb-glx0 libxxf86vm1
- anonymous5 years ago
I just used the same instructions for Debian 10 and it worked for my headless server. This has changed, as I set up a Debian server last week using the exact same download and it worked fine.
cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf - ~/.dropbox-dist/dropboxd ## Bunch of errors here sudo apt install libc6 sudo apt install libglapi-mesa sudo apt install libxdamage1 sudo apt install libxfixes3 sudo apt install libxcb-glx0 sudo apt install libxcb-dri2-0 sudo apt install libxcb-dri3-0 sudo apt install libxcb-present0 sudo apt install libxcb-sync1 sudo apt install libxshmfence1 sudo apt install libxxf86vm1 ~/.dropbox-dist/dropboxd ## Worked fine
- spacebingo5 years agoNew member | Level 2
I also needed to add libglib2.0-0 (Debian 10).
- The Duke In Purple5 years agoNew member | Level 2
I can only hope that the dev team will change this again as I have a use case of the CLI running in environments where it's just not viable to install X Server related libraries. It's just unnecessary.
Please, make a Linux Desktop App and a pure CLI version so everyone can choose what they need but don't force users to install libs they don't need for a function they don't use in a tool that has one job only. Sync files.
I get it, the linux share of users is probably small, but that shouldn't cause you to treat them and their very specific needs worse.
CLI worked, as it was, very well. At the very least, please allow us to run the older version without it autoupdating and then failing because it suddenly "needs" new libs. It's just very frustrating.
- marsch5 years agoNew member | Level 2
You are making the user install graphics libraries on a headless system. This answer just makes zero sense for a headless/cli-only install.
- Paul2435 years agoNew member | Level 2
I just spent an hour figuring this out and it seems there is no way to install properly Dropbox on a Debian server.
The proposed scripts are working but only at first start. Next launch it gets stuck on loading a PyQt5.QtGui.cpython-37m-x86_64-linux-gnu.so library we obviously don't need...
Plus, we're missing command line instructions to define the folders we want to synchronize.
@Dropbox, thank you for fixing this.
About Apps and Installations
Have a question about a Dropbox app or installation? Reach out to the Dropbox Community and get solutions, help, and advice from members.
Need more support
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!