Giter Club home page Giter Club logo

Comments (7)

zindel avatar zindel commented on May 20, 2024 2

@Schmavery Thanks for the report! Indeed, it is built against the homebrew version of the lib. I'll be reworking the release process soon. Let me try fixing this in the next patch release.

from fastpack.

zindel avatar zindel commented on May 20, 2024

@Schmavery took some time, but should be fixed in [email protected]. Could you try it plz?

from fastpack.

Schmavery avatar Schmavery commented on May 20, 2024

@zindel Thanks for following up, it seems like there may still be a problem.

13:18:09 avery@local:~/git/bs-recharts (master)$ rm -rf node_modules/fpack
13:18:16 avery@local:~/git/bs-recharts (master)$ npm i [email protected]

> [email protected] postinstall /Users/avery/git/bs-recharts/node_modules/fpack
> node postinstall.js

@ahrefs/[email protected] /Users/avery/git/bs-recharts
└── [email protected]

13:18:31 avery@local:~/git/bs-recharts (master)$ ./node_modules/fpack/fpack --help
dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
  Referenced from: /Users/avery/git/bs-recharts/./node_modules/fpack/fpack
  Reason: image not found
Abort trap: 6
13:18:40 avery@local:~/git/bs-recharts (master)$ otool -L ./node_modules/fpack/fpack
./node_modules/fpack/fpack:
        /usr/local/opt/openssl/lib/libssl.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0)
        /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4)

Do you get different output from otool on your version of the binary?

from fastpack.

zindel avatar zindel commented on May 20, 2024

@Schmavery you're right. The otool gives me the same output. Actually, I hoped that when we move the release process from my local laptop to CI (Azure Pipelines), it is going to fix it (i.e. the build will happen on the "vanilla" MacOS). Naively, I see two ways of fixing it:

  • make sure to uninstall openssl using brew at build time (going to try it right now)
  • pass specific link flags on MacOS to make sure to link with system libraries

Any ideas, how we can do better? CC @andreypopp

from fastpack.

zindel avatar zindel commented on May 20, 2024

Nevermind. Found the problem & solution! Will publish the release in next 30 mins or so

from fastpack.

zindel avatar zindel commented on May 20, 2024

@Schmavery I hope it is fixed this time. Please try [email protected].

~/ocaml/fpack $ otool -L vendor-darwin/fpack.exe
vendor-darwin/fpack.exe:
        /usr/lib/libssl.35.dylib (compatibility version 36.0.0, current version 36.0.0)
        /usr/lib/libcrypto.35.dylib (compatibility version 36.0.0, current version 36.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4)
~/ocaml/fpack $ npm publish
+ [email protected]

from fastpack.

Schmavery avatar Schmavery commented on May 20, 2024

Sorry for the delay, seems to work on 0.6.5. Thanks!

from fastpack.

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.