Giter VIP home page Giter VIP logo

libxml's People

Contributors

anathematic avatar melpon avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

anathematic

libxml's Issues

`undefined symbol: lzma_properties_decode`

Happy Tuesday!

I've been working through libxml + Heroku over the weekend and run into failing to load the NIF:

** (MatchError) no match of right hand side value: {:error, {:load_failed, 'Failed to load NIF library: \'/app/deps/libxml/priv/libxml_nif.so: undefined symbol: lzma_properties_decode\''}}

Any ideas or pointers to keep debugging would be great!

Thanks!

`undefined symbol: lzma_properties_decode` on Heroku

Original issue: #3

I've fixed the other Heroku-related issues, so it's easier to debug.

The error from Heroku deployment: (Full logs here)

remote: cc -fPIC -I/app/.platform_tools/erlang/erts-9.1/include -Ipriv/libxml2/include/libxml2 -Lpriv/libxml2/lib -shared  -o priv/libxml_nif.so src/libxml_nif.c priv/libxml2/lib/libxml2.a
remote: ==> libxml
remote: Compiling 10 files (.ex)
remote:
remote: 05:15:08.210 [error] Process #PID<0.149.0> raised an exception
remote: ** (MatchError) no match of right hand side value: {:error, {:load_failed, 'Failed to load NIF library: \'/tmp/build_687291de1680587ef527ea343df0e8c7/_build/prod/lib/libxml/priv/libxml_nif.so: undefined symbol: lzma_properties_decode\''}}
remote:     lib/libxml/nif.ex:5: Libxml.Nif.load_nif/0
remote:     (kernel) code_server.erl:1333: anonymous fn/1 in :code_server.handle_on_load/5
remote:
remote: 05:15:08.214 [warn]  The on_load function for module Elixir.Libxml.Nif returned:
remote: {{:badmatch, {:error, {:load_failed, 'Failed to load NIF library: \'/tmp/build_687291de1680587ef527ea343df0e8c7/_build/prod/lib/libxml/priv/libxml_nif.so: undefined symbol: lzma_properties_decode\''}}}, [{Libxml.Nif, :load_nif, 0, [file: 'lib/libxml/nif.ex', line: 5]}, {:code_server, :"-handle_on_load/5-fun-0-", 1, [file: 'code_server.erl', line: 1333]}]}
remote:

Heroku does come with LibXML and liblzma-dev, so I'm a little unsure where to take this...

Thanks very much as always!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.