Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

Copy link
Owner Author

@slimsag 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