Giter Site home page Giter Site logo

Comments (8)

rvantonder avatar rvantonder commented on May 18, 2024 1

Will think about the static linking--for now I'll add something in the install script & README when this goes wrong. Appreciate the note!

from comby.

wojas avatar wojas commented on May 18, 2024

Workaround (requires Xcode):

$ install_name_tool -change /usr/local/opt/pcre/lib/libpcre.1.dylib /usr/local/brew/lib/libpcre.1.dylib /usr/local/bin/comby

Found this trick here

from comby.

rvantonder avatar rvantonder commented on May 18, 2024

Thanks for the heads-up! It seems brew may behave differently depending on Mac OS X versions. What is your Mac OS X version?

from comby.

wojas avatar wojas commented on May 18, 2024

I'm using macOS Mojave (10.14.5).

I suspect that the issue is not with brew, but that you installed pcre from source sometime in the past, and during the build it is linking to that one instead.

from comby.

wojas avatar wojas commented on May 18, 2024

Apparently brew does install by default under /usr/local nowadays. When I originally installed it, everything was installed under /usr/local/brew and brew just keeps installing stuff there. Or perhaps I did not use the default prefix during installation, but I don't remember doing that.

I don't see any clean solution to this other than perhaps just mentioning the workaround in the README.

Anyway, feel free to close this issue.

from comby.

wojas avatar wojas commented on May 18, 2024

Or perhaps comby can statically link against pcre instead of using dynamic linking? It would not make the binary significantly larger.

from comby.

virusdave avatar virusdave commented on May 18, 2024

FYI - i ran into this also when nix-ifying install. Workaround here:
https://github.com/virusdave/nix-comby/blob/master/comby.nix#L60

(although i haven't yet pushed the change to use the xcode-command-line tools instead of the xcode version)

from comby.

rvantonder avatar rvantonder commented on May 18, 2024

Thanks. Closing this, and tracking the general issue in #96

from comby.

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.