If I build Node.js on 32-bit system and then I execute it on AMD-64
machine it fails to run because of missing libssl.so.1.0.0 library.

Perhaps it would be possible to compile Node so that libssl is linked
statically? I need Node to be working out of the box, I can't ask
users to install additional dependencies.

On Mar 17, 8:04 pm, Ilya Dmitrichenko <[email protected]>
wrote:
> On 17 March 2012 18:55, Jarek Foksa <[email protected]> wrote:
>
> > How can I compile Node.js so that it runs on both 32- and 64-bit
> > systems? There is fat binary for OSX available on nodejs.org, but I
> > can't find anything similar for Linux.
>
> I thought this wasn't quite possible on linux ... I'd be glad to hear
> that I was wrong!
>
> The simple way of doing this would be to have shell script that runs
> the right version,
> thought the question is whether you need to have 64-bit build? Will
> ever need allocate
> more then 4gb of ram in a single process? Some people use 64-bit
> kernel but build most
> of the programs as 32-bit and save some ram that way. Also I heard
> that Intel was doing
> something in this respect to allow something tricky 
> -http://en.wikipedia.org/wiki/X32_ABI:)
>
> Cheers,
> --
> Ilya

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" 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/nodejs?hl=en?hl=en

Reply via email to