Skip to content

Issues compiling on ubuntu #2

@knewter

Description

@knewter

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]}]}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions