openssl library?

J

Jonathan Leighton

Hi,

Where I work we have an Ubuntu server. I installed Ruby by compiling the
1.8.4 sources. According to the standard library documentation at
http://www.ruby-doc.org/stdlib/, the openssl library should be included
in the standard distribution -- I need this in order to run SwitchTower.
However, it doesn't appear to be there. I cannot require it, and
checking in /usr/local/lib/ruby/1.8 I cannot see anything to do with
openssl. Anyone have any ideas? Am I supposed to do something else?

Cheers
 
B

Bill Kelly

Hi,

From: "Jonathan Leighton said:
Where I work we have an Ubuntu server. I installed Ruby by compiling the
1.8.4 sources. According to the standard library documentation at
http://www.ruby-doc.org/stdlib/, the openssl library should be included
in the standard distribution -- I need this in order to run SwitchTower.
However, it doesn't appear to be there. I cannot require it, and
checking in /usr/local/lib/ruby/1.8 I cannot see anything to do with
openssl. Anyone have any ideas? Am I supposed to do something else?

I don't know why it doesn't build automatically, but whenever I build
ruby from source, I do the following:

cd ext/openssl
make install

in order to build the ruby openssl extension.

(On debian, I also recall having needed to build the OpenSSL library
[not the ruby extension, but the system library] from a source package,
in order to get the needed header files.)


Hope this helps,

Bill
 
J

Joel VanderWerf

Bill said:
(On debian, I also recall having needed to build the OpenSSL library
[not the ruby extension, but the system library] from a source package,
in order to get the needed header files.)

Probably, you can just apt-get install libssl-dev.
 
J

Jonathan Leighton

Hi,

From: "Jonathan Leighton said:
Where I work we have an Ubuntu server. I installed Ruby by compiling the
1.8.4 sources. According to the standard library documentation at
http://www.ruby-doc.org/stdlib/, the openssl library should be included
in the standard distribution -- I need this in order to run SwitchTower.
However, it doesn't appear to be there. I cannot require it, and
checking in /usr/local/lib/ruby/1.8 I cannot see anything to do with
openssl. Anyone have any ideas? Am I supposed to do something else?

I don't know why it doesn't build automatically, but whenever I build
ruby from source, I do the following:

cd ext/openssl
make install

in order to build the ruby openssl extension.

(On debian, I also recall having needed to build the OpenSSL library
[not the ruby extension, but the system library] from a source package,
in order to get the needed header files.)

Thanks for the info.
 
D

David Vallner

D=C5=88a Pondelok 20 Febru=C3=A1r 2006 20:52 Jonathan Leighton nap=C3=ADsal:
Hi,

Where I work we have an Ubuntu server. I installed Ruby by compiling the
1.8.4 sources. According to the standard library documentation at
http://www.ruby-doc.org/stdlib/, the openssl library should be included
in the standard distribution -- I need this in order to run SwitchTower.
However, it doesn't appear to be there. I cannot require it, and
checking in /usr/local/lib/ruby/1.8 I cannot see anything to do with
openssl. Anyone have any ideas? Am I supposed to do something else?

Cheers

Can't quite reproduce this. Uninstalling everything ruby-related and=20
installing from 1.8.4 source worked perfectly as far as openssl is concerne=
d.=20
You apparently need to have libssl-dev installed for the build scripts to=20
make it. (I apparently broke the readline support in the process...)

David Vallner
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,135
Latest member
VeronaShap
Top