Faltando bibliotecas de desenvolvimento de Ruby no OpenSuse

0

Eu poderia ter pulado fora do fundo quando voltar para o Linux e estou preso tentando instalar uma nova versão do Ruby no OpenSuse com o rbenv.

me@linux-tzyj:~> rbenv install 2.4.0
Downloading ruby-2.4.0.tar.bz2...
-> https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.0.tar.bz2
Installing ruby-2.4.0...

BUILD FAILED (openSUSE Tumbleweed 20180209 using ruby-build 20171226-3-g01e7b7b)

Inspect or clean up the working tree at /tmp/ruby-build.20180211014832.4210
Results logged to /tmp/ruby-build.20180211014832.4210.log

Last 10 log lines:
The Ruby openssl extension was not compiled.
The Ruby readline extension was not compiled.
The Ruby zlib extension was not compiled.
ERROR: Ruby install aborted due to missing extensions
Try running 'apt-get install -y libssl-dev libreadline-dev zlib1g-dev' to fetch missing dependencies.

Eu tentei encontrar qualquer um no apt-get e zypper sem sorte. O OpenSuse lida com esses pacotes de maneira diferente do que o Ubuntu? Isso é o que eu costumava usar anos atrás.

Eu tentei executar zypper in -t pattern devel_basis , mas acabei de remover o zlib1g-dev da lista de pacotes ausentes

    
por Jared 11.02.2018 / 17:59

1 resposta

1

Eles são realmente um pouco diferentes. Experimente zypper install libopenssl-devel readline-devel .

    
por 13.02.2018 / 10:14