OpenSSL issue on CentOS

956 views
Skip to first unread message

north

unread,
Dec 4, 2010, 1:26:40 PM12/4/10
to nodejs
hi,

i'm new to node.js and i'm far from being a linux expert, but i'm
still trying to get node.js running on my vserver (CentOS). i think i
got the installation incl. dependencies right.

but when i try ./configure, I get this:

Checking for openssl : not found
Checking for function SSL_library_init : not found
Checking for header openssl/crypto.h : not found
/root/node/wscript:221: error: Could not autodetect OpenSSL support.
Make sure OpenSSL development packages are installed. Use configure --
without-ssl to disable this message.

yum info openssl-devel gives me:

Available Packages
Name : openssl-devel
Arch : i386
Version: 0.9.8e
Release: 12.el5_4.6
Size : 1.9 M
Repo : update
...

Name : openssl-devel
Arch : x86_64
Version: 0.9.8e
Release: 12.el5_4.6
Size : 1.9 M
Repo : update
...

So I have no idea what the problem is. Anybody? Thanks!

Justin Cormack

unread,
Dec 4, 2010, 2:17:33 PM12/4/10
to nod...@googlegroups.com
It *might* be getting confused as you have both dev packages installed
and the build picks up a mixture which looks like failure. See if it
works with just the 64 bit devel libs installed.

Justin

> --
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to nod...@googlegroups.com.
> To unsubscribe from this group, send email to nodejs+un...@googlegroups.com
> .
> For more options, visit this group at http://groups.google.com/group/nodejs?hl=en
> .
>

north

unread,
Dec 4, 2010, 2:56:50 PM12/4/10
to nodejs
Thanks, Justin.

I removed openssl.i686 0:0.9.8e-12.el5_4.6 but I still get the same
error:

Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for program gcc or cc : /usr/bin/gcc
Checking for gcc : ok
Checking for library dl : yes
Checking for openssl : not found
Checking for function SSL_library_init : not found
Checking for header openssl/crypto.h : not found
/root/node/wscript:221: error: Could not autodetect OpenSSL support.
Make sure OpenSSL development packages are installed. Use configure --
without-ssl to disable this message.


mscdex

unread,
Dec 4, 2010, 4:37:35 PM12/4/10
to nodejs
On Dec 4, 1:26 pm, north <thecode...@googlemail.com> wrote:
> hi,
>
> i'm new to node.js and i'm far from being a linux expert, but i'm
> still trying to get node.js running on my vserver (CentOS). i think i
> got the installation incl. dependencies right.

What version of CentOS is this and where is ssl.h located (i.e.
"find / -name ssl.h")?

north

unread,
Dec 4, 2010, 5:19:07 PM12/4/10
to nodejs
hey,

CentOS release 5 (Final) powered by [netclusive]

find / -name ssl.h doesn't give me a result...

mscdex

unread,
Dec 4, 2010, 5:53:03 PM12/4/10
to nodejs
On Dec 4, 5:19 pm, north <thecode...@googlemail.com> wrote:
> hey,
>
> CentOS release 5 (Final) powered by [netclusive]
>
> find / -name ssl.h doesn't give me a result...

Sounds like the openssl-devel package didn't install correctly or
something....

What is the output of: rpm -ql openssl-devel | grep include

north

unread,
Dec 4, 2010, 6:04:08 PM12/4/10
to nodejs
no output...

in how far is it different from yum info openssl-devel?

Justin Cormack

unread,
Dec 4, 2010, 6:19:08 PM12/4/10
to nod...@googlegroups.com

Thats giving you the ones you could install, not what is installed

just do yum install openssl-devel and you should be fine...

Justin

north

unread,
Dec 4, 2010, 6:37:19 PM12/4/10
to nodejs
tried that and got the following error:

Transaction Check Error:
file /etc/krb5.conf from install of krb5-libs-1.6.1-36.el5_4.1
conflicts with file from package krb5-libs-1.5-29

neverending story... ;)

north

unread,
Dec 5, 2010, 4:40:07 AM12/5/10
to nodejs
I had to yum update krb5-libs first, then I was able to run ./
configure, make and make install

Thanks everbody

paleotech

unread,
Dec 21, 2010, 7:34:21 AM12/21/10
to nodejs
Just wanted to reply to mention I had the same issue with openssl on
CentOS. 'yum install openssl-devel' resolved it.
Reply all
Reply to author
Forward
0 new messages