Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Can't build node as a shared libary #8064

Closed
samehkamaleldin opened this issue Aug 3, 2014 · 3 comments
Closed

Can't build node as a shared libary #8064

samehkamaleldin opened this issue Aug 3, 2014 · 3 comments
Labels

Comments

@samehkamaleldin
Copy link

I'm trying to build node as a shared library on ubuntu 12.4.4, but I'm getting an error in the make job.

I've changed the build target type in node.gyp to be a shared library as the following:

'targets': [
    {
      'target_name': 'node',
      'type': 'shared_library'

then I've executed ./configure then make -j8, but an error occurred during the build process.

/out/Release/libopenssl.a(bio_ssl.o): relocation R_X86_64_32S against `
.rodata' can not be used when making a shared object; recompile with -fPIC

I don't know what's the problem exactly and how this can be fixed ?

@jbergstroem
Copy link
Member

You might be interested in #7336.

Edit: close?

@trevnorris
Copy link

Will close once that's landed.

@jasnell
Copy link
Member

jasnell commented Jun 3, 2015

Closing this for now in favor of nodejs/roadmap#9. Essentially, deferring this to the converged repo

@jasnell jasnell closed this as completed Jun 3, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants