Skip to content

Instantly share code, notes, and snippets.

@csmr
Last active November 8, 2021 17:56
Show Gist options
  • Save csmr/cca25521bf52732c0149676149b1c2a2 to your computer and use it in GitHub Desktop.
Save csmr/cca25521bf52732c0149676149b1c2a2 to your computer and use it in GitHub Desktop.
Debian 10 gems can't be updated
$ sudo gem update
Updating installed gems
Updating dbm
Building native extensions. This could take a while...
ERROR: Error installing dbm:
ERROR: Failed to build gem native extension.
current directory: /var/lib/gems/2.5.0/gems/dbm-1.1.0/ext/dbm
/usr/bin/ruby2.5 -r ./siteconf20211108-19075-138lpvt.rb extconf.rb
checking for -lgdbm... no
checking for -lgdbm... no
checking for -lgdbm... no
*** extconf.rb failed ***
$ uname -a
Linux amp 4.19.0-18-amd64 #1 SMP Debian 4.19.208-1 (2021-09-29) x86_64 GNU/Linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment