From: Brian Candler Date: 2009-02-27T18:07:32+09:00 Subject: Re: Problem with new ruby install and openssl.rb (on Ubuntu) Phor Gruber wrote: > I'm on ubuntu-linux and I do see openssl development packages inside of > my OS: > > $ apt-cache search libssl > cl-plus-ssl - A simple Common Lisp interface to OpenSSL > dcmtk - The OFFIS DICOM toolkit command line utilities > libdcmtk1 - The OFFIS DICOM toolkit runtime libraries > libdcmtk1-dev - The OFFIS DICOM toolkit development libraries and > headers > libssl-ocaml - OCaml bindings for OpenSSL > libssl-ocaml-dev - OCaml bindings for OpenSSL > libssl-dev - SSL development libraries, header files and documentation > libssl0.9.8 - SSL shared libraries > libssl0.9.8-dbg - Symbol tables for libssl and libcrypto No you don't... apt-cache shows you which packages are *available* for you to install, not ones you actually have installed. To see what's installed, use: dpkg-query -l | grep ssl Then most likely you'll want to do: apt-get install libssl-dev > Also, I see this: > > $ apt-cache search libopenssl-ruby > libopenssl-ruby - OpenSSL interface for Ruby > libopenssl-ruby1.9 - OpenSSL interface for Ruby 1.9 > ruby1.8 - Interpreter of object-oriented scripting language Ruby 1.8 > libopenssl-ruby1.8 - OpenSSL interface for Ruby 1.8 If you were using Ubuntu's ruby1.8 package, then you could just install Ubuntu's libopenssl-ruby. But if you're building from source, you'll need libssl-dev. HTH, Brian. -- Posted via http://www.ruby-forum.com/.