Compile for 32bit - missing libs but no sudo to install, any workaround?


Options I could think of:
A. to install necessary files: sudo apt-get install g+±multilib libc6-dev-i386
B. to offer 32bit OS containers (by the way, how about Windows containers?)
C. to provide a way/instructions how to install binaries to HOME (or pnpm?) dir.

I don’t see why easy option A would be avoided, but even if so we are on Linux here, there must be dozens of other options. There must be ways to do C, beside chroot and compile from source… perhaps, somehow, with yum or some other package manager?


Hey @pokerica I’m not sure exactly what you’re trying to do and I don’t have a lot of experience with compiling 32-bit libraries, but perhaps someone else in the community has looked at this problem and can offer some pointers or a path to Option C. I don’t know of any workarounds off the top of my head.

As far as the other options you’ve listed my expectation is that none of them are likely to be forthcoming in the foreseeable future. I think that the use case you’re working towards simply isn’t one that we’re actively optimizing for right now.

That said I won’t say that we might not eventually support your use case better, and as such these all seem like great topics for the Feature Ideas category.

I’m sorry I don’t have a better answer for you.


I agree use cases for this are rare, mine is to port some old game to 64bit so I need working 32bit executable for reference to help me debug 64bit version.

On the other hand having few extra libs is like having few extra fonts installed on the system, it does not hurt and it can come handy. I guess it only needs to be installed in one place common for all containers, so I thought maybe doing that would not be a problem, and they say it’s alway best to ask.

Keep up the good work!