sassc-ruby icon indicating copy to clipboard operation
sassc-ruby copied to clipboard

sassc gem does not compile on freebsd

Open devosalain opened this issue 5 years ago • 2 comments

jruby -S gem install sassc returns : compiling ./libsass/src/memory//SharedPtr.cpp linking shared-object sassc/libsass.so c99func.o: file not recognized: file format not recognized collect2: error: ld returned 1 exit status *** Error code 1 make: stopped in /usr/local/rvm/gems/jruby-9.2.9.0/gems/sassc-2.2.1/ext make failed, exit code 1

yarn -v 1.19.1 ruby -v jruby 9.2.9.0 (2.5.7) 2019-10-30 458ad3e OpenJDK 64-Bit Server VM 25.232-b09 on 1.8.0_232-b09 +jit [freebsd-x86_64] uname -a FreeBSD aaa 12.1-RELEASE-p2 FreeBSD 12.1-RELEASE-p2 r358238 BSD_2020_02_22 amd64

devosalain avatar Mar 02 '20 23:03 devosalain

This may be the same issue as #182 but I'm not sure.

headius avatar Jul 16 '20 18:07 headius

it means that the linker doesn't recognize the generated code, something is probably mixed up in your environment. Could you show us your versions?

ld -v
gcc -v

or maybe freebsd expects some different flags, I didn't test it by myself, but there's no reason why it shouldn't work on bsd.

ahorek avatar Jun 16 '21 19:06 ahorek