Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sassc gem does not compile on freebsd #186

Open
devosalain opened this issue Mar 2, 2020 · 2 comments
Open

sassc gem does not compile on freebsd #186

devosalain opened this issue Mar 2, 2020 · 2 comments

Comments

@devosalain
Copy link

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

@headius
Copy link

headius commented Jul 16, 2020

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

@ahorek
Copy link

ahorek commented Jun 16, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants