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

Issues compiling on ubuntu #2

Open
knewter opened this issue Aug 11, 2014 · 1 comment
Open

Issues compiling on ubuntu #2

knewter opened this issue Aug 11, 2014 · 1 comment

Comments

@knewter
Copy link

knewter commented Aug 11, 2014

So on 2 separate machines running the Ubuntu distribution, I've run into the following. Curious if you had any clue. Seems to be suggesting that it's linking into the wrong libstdc++ but not really sure. Anyway, thanks for the library :) Just wanted to report the issue - feel free to ignore it, I might just use ruby to compile my sass for the beam toolbox for now.

[jadams:/home/jadams/elixir/beam_toolbox_web] features/sass+ ± mix deps.compile
==> idna (compile)
==> ranch (compile)
==> poolboy (compile)
==> sass
make: `priv/sass.so' is up to date.

== Compilation error on file lib/sass/compiler.ex ==
19:49:49.059 [error] Error in process <0.174.0> with exit value: {{badmatch,{error,{load_failed,"Failed to load NIF library: '/home/jadams/elixir/beam_toolbox_web/_build/dev/lib/sass/priv/sass.so: undefined symbol: _ZTVN10__cxxabiv117__class_type_infoE'"}}},[{'Elixir.Sass.Compiler'... 


** (MatchError) no match of right hand side value: {:error, :on_load_failure}
    (stdlib) erl_eval.erl:657: :erl_eval.do_apply/6
    (elixir) src/elixir.erl:170: :elixir.erl_eval/3
    (elixir) src/elixir.erl:158: :elixir.eval_forms/4
    (elixir) src/elixir_lexical.erl:17: :elixir_lexical.run/2

19:49:49.068 [error] The on_load function for module Elixir.Sass.Compiler returned {{:badmatch,
  {:error,
   {:load_failed,
    'Failed to load NIF library: \'/home/jadams/elixir/beam_toolbox_web/_build/dev/lib/sass/priv/sass.so: undefined symbol: _ZTVN10__cxxabiv117__class_type_infoE\''}}},
 [{Sass.Compiler, :init, 0, [file: 'lib/sass/compiler.ex', line: 13]},
  {:code_server, :"-handle_on_load/4-fun-0-", 1,
   [file: 'code_server.erl', line: 1659]}]}
@danielfarrell
Copy link
Owner

I haven't tried this on Ubuntu(or Linux), but I will take a look and see if I can figure out why that happened. Thanks for letting me know.

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

2 participants