i did this a couple of days ago on Ubuntu 22.04; i had to install these to successfully build/link:
apt install build-essential gcc-multilib libx11-dev libx11-dev:i386 g++-multilib


On Thu, Jun 29, 2023, 9:48 PM Don Bailey <don.bailey@gmail.com> wrote:
Hi Pals,

I'm trying to build 9vx using the current vx32 repo. I have (as I understand it) installed multiarch in my Ubuntu environment (22). But I can't compile 9vx. It fails to find the 32bit libx11, which is installed under /usr/lib/i386..../ and instead insists on looking under /usr/lib/x86_64..../

Any tips? I've never had to use multiarch for anything and don't want to waste a lot of time trying to get 9vx working just to work with a demo RISC-V plan9 kernel.

Thanks all,
D