Closed issue by jesseadams on void-packages repository https://github.com/void-linux/void-packages/issues/33621 Description: ### System * xuname: `Void 5.13.19_1 x86_64 GenuineIntel uptodate rFF` * package: gcc-10.2.1pre1_3 ### Expected behavior `rbenv install 3.0.2` downloads and compiles ruby 3.0.2 ### Actual behavior ``` Installing ruby-3.0.2... BUILD FAILED (VoidLinux rolling using ruby-build 20210928-4-g2b9424d) Inspect or clean up the working tree at /tmp/ruby-build.20211018112122.8745.2yqy2e Results logged to /tmp/ruby-build.20211018112122.8745.log Last 10 log lines: checking for ld... ld checking for gcc-ar... gcc-ar checking for g++... g++ checking for gcc-nm... gcc-nm checking for gcc-ranlib... gcc-ranlib checking for gcc... (cached) gcc checking whether the C compiler works... no configure: error: in `/tmp/ruby-build.20211018112122.8745.2yqy2e/ruby-3.0.2': configure: error: C compiler cannot create executables See `config.log' for more details ``` ### Steps to reproduce the behavior ``` # Install rbenv curl -fsSL https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer | bash # Load rbenv into your environment export PATH=~/.rbenv/bin:$PATH rbenv init # Install ruby 3.0.2 rbenv install 3.0.2 ``` This is my first attempt at using Void Linux, so I'm sorry if it is something simple that I just overlooked.