Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
openssl not compiling properly on ARMV6 (Raspberry Pi) #3685
Comments
|
Does it work when you link to the system openssl libraries? |
gflarity
commented
Jul 10, 2012
|
I was configuring like so: But I see now that the config param has changed, or the instructions are just wrong. I'm rebuilding now, looks like openssl isn't being compiled anymore but I won't know for sure until it's done compiling. |
gflarity
commented
Jul 11, 2012
|
Confirmed, it's working now. I've put up new instructions and a patch here: |
|
Okay, good. Does the bundled openssl work when you run configure without any switches? |
gflarity
commented
Jul 11, 2012
|
The error above is the result of compiling the openssl included under /deps. I believe the error has to do with the bundled openssl not being compiled properly. I think the command I used before './configure --openssl-libpath=/usr/lib/ssl' is essentially the same as running configure by itself. I saw openssl compile from deps. Does this help? |
|
You probably built a franken-binary. I suspect that your binary was compiled against the bundled openssl but linked against the system openssl. If they're different versions, things won't work well. |
gflarity
commented
Jul 11, 2012
|
Ya, this sounds about right. Is there any advantage to using the openssl that comes bundled with node? Using the pre-compiled debian version saves over 30 minutes of compile time. |
|
If your distro is anything like the debian distros that are installed on my ARM devices, then you'll have a pretty outdated version of openssl. You won't get nice things like NPN (what you need for SPDY) but, more importantly, you won't profit from the memory savings that recent versions of openssl allow. |
bnoordhuis
closed this
Jul 11, 2012
gflarity
commented
Jul 11, 2012
|
Thanks for your help. I'm going to try to compile using the bundled dependency, see if I can get it working. |
gflarity commentedJul 10, 2012
I tried to get Node building on the Raspberry Pi by following the instructions laid out in:
http://www.raspberrypi.org/phpBB3//viewtopic.php?f=34&t=9929
Note this works in v0.6.x which I believe just links to the locally installed openssl libraries. On v0.8.x everything builds (eventually) but if you try to use npm to install something you get: