Homebrew (Mac): cannot install libksba or dependency libgpg-error
These are the formulas associated with libksba
and libpgp-error
: Homebrew Libksba Formula and Homebrew Libgpg-Error. Try first updating Homebrew
, since the discrepancy between the version shown in your logs and the one in the repo tells me is outdated:
brew update
brew install libksba
If that doenst work, then you can download it from here:
url 'ftp://ftp.gnupg.org/gcrypt/libksba/libksba-1.3.0.tar.bz2'
url 'ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.11.tar.bz2'
mirror 'http://www.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.11.tar.gz'
Completing install of ruby 1.9.3 with Ruby for for Mac OS X 10.7.5 Leopard, Xcode 4.5.2 -- problems with rvm pkg install openssl
in Xcode you need to install command line tools, but ... easier way is to install osx-gcc-installer, it includes all the required libraries, compiler and is just one package
Error installing any ruby version with RVM on OSX
I ran into the same issue, you need to manually install all the required packages using Brew. For me I had to run the following installs:
brew install autoconf
brew install automake
brew install libtool
brew install apple-gcc42
brew install libyaml
brew install libxslt
brew install libksba
brew install openssl
You just need to keep running "rvm requirements" and reading the log and installing the packages needed until there are no more errors.
Related Topics
Ruby on Rails - Activerecord::Relation Count Method Is Wrong
Rails 5 - Using Polymorphic Associations - Rendering the Views
Why Can't I Create an Array as a Column in a Table in Rails
Test (With Rspec) a Controller Outside of a Rails Environment
Error Building Ruby in Sublime Text Editor
How to Change Ruby to Version 1.9.3 (Again) with Rvm
Rails Error Message Displays Key and I Only Want Value
Ruby: Cannot Install Watir Gem on Windows
Ruby Private Attr_Accessor and Unexpected Nil
Triple Single Quote VS Triple Double Quote in Ruby
Why Is My Ruby Git Script Hook Run with the Wrong $Path
Ruby, Generate a Random Hex Color (Only Light Colors)
Pg::Error: Error: Invalid Byte Sequence for Encoding "Utf8": 0Xfc
How to Ssh Interactive Session
Ruby -- Capitalize First Letter of Every Sentence in a Paragraph