Public bug reported: This means that if I want to build an x86 program that uses libGL on an amd64 system, I need to install libgl1-mesa-glx:i386 and then manually symlink /usr/lib/i386-linux-gnu/libGL.so
$ sudo apt-get install libgl1-mesa-dev:i386 Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libdrm-dev:i386 libx11-xcb-dev:i386 libxcb-dri2-0-dev:i386 libxcb-dri3-dev:i386 libxcb-glx0-dev:i386 libxcb-present-dev:i386 libxcb-randr0:i386 libxcb-randr0-dev:i386 libxcb-render0-dev:i386 libxcb-shape0:i386 libxcb-shape0-dev:i386 libxcb-sync-dev:i386 libxcb-xfixes0:i386 libxcb-xfixes0-dev:i386 libxdamage-dev:i386 libxext-dev:i386 libxfixes-dev:i386 libxshmfence-dev:i386 libxxf86vm-dev:i386 mesa-common-dev:i386 Suggested packages: libxext-doc:i386 The following packages will be REMOVED: freeglut3-dev libgl1-mesa-dev libglu1-mesa-dev mesa-common-dev xserver-xorg-dev The following NEW packages will be installed: libdrm-dev:i386 libgl1-mesa-dev:i386 libx11-xcb-dev:i386 libxcb-dri2-0-dev:i386 libxcb-dri3-dev:i386 libxcb-glx0-dev:i386 libxcb-present-dev:i386 libxcb-randr0:i386 libxcb-randr0-dev:i386 libxcb-render0-dev:i386 libxcb-shape0:i386 libxcb-shape0-dev:i386 libxcb-sync-dev:i386 libxcb-xfixes0:i386 libxcb-xfixes0-dev:i386 libxdamage-dev:i386 libxext-dev:i386 libxfixes-dev:i386 libxshmfence-dev:i386 libxxf86vm-dev:i386 mesa-common-dev:i386 0 upgraded, 21 newly installed, 5 to remove and 26 not upgraded. Need to get 717 kB of archives. After this operation, 407 kB of additional disk space will be used. Do you want to continue? [Y/n] n Abort. ** Affects: mesa (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1317113 Title: libgl1-mesa-dev is not multiarch-ready To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1317113/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs