Created
November 28, 2014 07:07
-
-
Save emidoots/a26d838ccc4480ce21bc to your computer and use it in GitHub Desktop.
Ubuntu 14.04 libxcb v1.11 Upgrade Script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.