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
zahanmfb
New member | Level 2
As described in this support thread, the headless Dropbox client seems to depend on a few graphics libraries, including libglapi-mesa - hence we see the error described when trying to install and start it using just the official installation instructions.
ImportError: libglapi.so.0: cannot open shared object file: No such file or directory
Can we get the dev team to fix this such that the headless client doesn't depend on these libraries? I imagine its an unintended dependency.
Lusil
4 years agoDropbox Staff
Hey zahanmfb, thanks for reaching out.
I moved your post to this thread to keep relevant troubleshooting about this under one discussion, so as to better track your feedback.
Thanks for taking the time to share this with us, and if you have anything else in mind, don't hesitate to get back to us.
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!