Is the location of openssl on your search path? What happens if you
type "which openssl"?

The easiest way to ensure that it's found is, if you're building from
source, use the configure command to install on your path.  For
instance I use /opt/local as a repository and have /opt/local/bin on
my PATH. So I run:

$ cd ~/src/openssl-0.9.8j
$ ./configure --prefix=/opt/local --any-other-configuration-options
$ make
$ make install
$ which openssl
/opt/local/bin/ssl
$ openssl version
OpenSSL 0.9.8j 07 Jan 2009


On Oct 21, 3:40 am, Frederick Cheung <[email protected]>
wrote:
> On Oct 20, 10:09 pm, Nik Winter <[email protected]>
> wrote:
>
> > >  You need openssl-devel library.
>
> > I compiled OpenSSL from the source, so I should have all the headers and
> > stuff.  It seems like Rails can't find it, and I don't know how to tell
> > it where to look.
>
> > > ruby extconf --with-openssl-include=/path/to/openssl/headers --with-
> > > openssl-lib=/path/to/openssl/libraries
>
> > This didn't work.
>
> What happened ?
>
> Fred
>
> > Thanks for the responses!
> > --
> > Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to