You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
When trying to install node-sass through npm, the compilation process fails while linking.
[2/2] cxx_link: build/Release/binding_1.o libsass/libsass.a -> build/Release/binding.node
/usr/bin/ld: ../libsass/libsass.a(sass_interface.o): relocation R_X86_64_32S against `std::basic_string<char, std::char_traits, std::allocator >::_Rep::_S_empty_rep_storage' can not be used when making a shared object; recompile with -fPIC
../libsass/libsass.a: could not read symbols: Bad value
When manually compiling master, it succeeds.
The text was updated successfully, but these errors were encountered:
hmm, very weird... I first get these errors, but now it compiles without issues...
I did notice though that at first npm didn't download the nodejs source code, so it also failed on node.h
anyway, it does seem to work after all...
are you using node-gyp or waf? I was able to compile using gyp on x86_64. There's no reason for it to look for libsass.a -- that looks like something from the node-waf days.
We should probably just remove wscript so that there's only 1 way to build the package.
When trying to install node-sass through npm, the compilation process fails while linking.
[2/2] cxx_link: build/Release/binding_1.o libsass/libsass.a -> build/Release/binding.node
/usr/bin/ld: ../libsass/libsass.a(sass_interface.o): relocation R_X86_64_32S against `std::basic_string<char, std::char_traits, std::allocator >::_Rep::_S_empty_rep_storage' can not be used when making a shared object; recompile with -fPIC
../libsass/libsass.a: could not read symbols: Bad value
When manually compiling master, it succeeds.
The text was updated successfully, but these errors were encountered: