From: rcoder Date: 2004-12-01T08:52:47+09:00 Subject: Re: openssl engine driving me nuts! Are both versions of OpenSSL in the same prefix, (/usr by default in Red Hat distros) or do you have the second, non-standard package somewhere else? If so, I would recommend removing any LD_* or CFLAGS environment variables which point to the custom install; the default OpenSSL build provided with RHEL should be fine for building the Ruby extension. Alternately, you should (and I do mean *should* -- I've definitely been bit by things in the Ruby build infrastructure that ignored sensible overrides in the past) be able to pass a '--with-openssl-dir=[...]' flag to the extconf.rb script in the ext/openssl directory of the source distribution to set the default path it uses. For example, if the OpenSSL build you need to use is in '/usr/local/newlibs/{include,lib}', try running the following from the top of the Ruby source tree: cd ext/openssl ruby extconf.rb --with-openssl-dir=/usr/local/newlibs make sudo make install Hope that helps, Lennon