GithubHelp home page GithubHelp logo

Comments (10)

fazibear avatar fazibear commented on August 28, 2024 1

You need to relink it with this command:

install_name_tool -change /usr/local/opt/libevent/lib/libevent-2.0.5.dylib @executable_path/libevent.dylib embedded/bin/crystal

In both versions (from release and from source)

P.S. Shards are missing (package manager and build tool)

from asdf-crystal.

mgxm avatar mgxm commented on August 28, 2024 1

Neither crystal deps build or crystal deps init?
Because shards are distributed with Crystal.

from asdf-crystal.

mgxm avatar mgxm commented on August 28, 2024

Are you using homebrew?
brew install libevent
or brew unlink libevent && brew link libevent

from asdf-crystal.

fazibear avatar fazibear commented on August 28, 2024

The versions don't match. This one is from brew:

libevent: stable 2.1.8 (bottled)
Asynchronous event library
http://libevent.org
Conflicts with: pincaster
/usr/local/Cellar/libevent/2.1.8 (847 files, 2.2M) *
  Poured from bottle on 2017-01-31 at 13:56:38
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/libevent.rb
==> Dependencies
Build: autoconf ✔, automake ✔, doxygen ✔, libtool ✔, pkg-config ✔
Required: openssl ✔

Also, test case installing the first version, not the latest. 0.10.2 works fine for me but 0.20.5 not.

from asdf-crystal.

mgxm avatar mgxm commented on August 28, 2024

Seems libevent are in conflict with pincaster, maybe it's provides a older version of libevent in your formula.
Can you see if you already have libevent installed? and which version

from asdf-crystal.

fazibear avatar fazibear commented on August 28, 2024

Just like I said I have installed 2.1.8 which is newer than crystal is linked with.

from asdf-crystal.

mgxm avatar mgxm commented on August 28, 2024

About shards, you are able to run with crystal deps.
or are you getting errors on this?

from asdf-crystal.

fazibear avatar fazibear commented on August 28, 2024

But there is no way to run shards build. Shards should be also in path.

from asdf-crystal.

fazibear avatar fazibear commented on August 28, 2024

Any progress on relinking ?

from asdf-crystal.

fazibear avatar fazibear commented on August 28, 2024

Version 0.21.0 work well without relinking.

from asdf-crystal.

Related Issues (20)

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.