Firstly it'll probably be easier to check if there is a 64bit binary available, that'll solve most of your issues. If you're stuck using 32bit you can install 32bit pam with sudo eopkg it pam-32bit if there are any other missing 32bit binaries missing you can use eopkg search to hunt them down. We only support 32bit for game/steam compatibility so not all packages provide 32bit support. In fact, installing steam will download the majority of the 32bit packages for you.