Skip to content

Instantly share code, notes, and snippets.

@slimsag
Created November 28, 2014 07:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save slimsag/a26d838ccc4480ce21bc to your computer and use it in GitHub Desktop.
Save slimsag/a26d838ccc4480ce21bc to your computer and use it in GitHub Desktop.
Ubuntu 14.04 libxcb v1.11 Upgrade Script
sudo apt-get install autoconf
wget http://xcb.freedesktop.org/dist/xcb-proto-1.11.tar.gz
tar xzvf xcb-proto-1.11.tar.gz
cd xcb-proto-1.11
./autogen.sh
./configure
sudo make install
cd ..
wget http://xcb.freedesktop.org/dist/libxcb-1.11.tar.gz
tar xzvf libxcb-1.11.tar.gz
cd libxcb-1.11
./configure
sudo make install
sudo rm /usr/lib/x86_64-linux-gnu/libxcb.so
sudo ln -s /usr/local/lib/libxcb.so.1.1.0 /usr/lib/x86_64-linux-gnu/libxcb.so
@slimsag
Copy link
Author

slimsag commented Nov 28, 2014

Workaround for the bug: glfw#386

  • make install places the libraries into /usr/local/lib/
  • libxcb1 deb places them into (the correct location) /usr/lib/x86_64-linux-gnu/

Sadly it doesn't seem easy to remove the libxcb1 package because 1.1GB(!) worth of packages depend on it.

The symbolic link at the end seems to a okay fix to this problem and everything works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment