question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fix MacOS M1 and M2 builds, Maybe link zlib and libuv statically in macOS

See original GitHub issue

Add zlib and libuv statically instead of dynamically linked, this will avoid problems with people that don’t run.

brew install libuv
brew install zlib

or

apt install libuv1 zlib1g

Discussion: https://github.com/cirospaciari/socketify.py/discussions/10#discussioncomment-4129980

(Should fix arm m2)

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
seanr3commented, Nov 25, 2022

Works! Thank you.

1reaction
cirospaciaricommented, Nov 24, 2022

@seanr3 Good news, i created an new process to cross-compile libuv statically using cmake and things worked here! image

No need to build manually anymore. Please uninstall and reinstall again

 pip uninstall socketify
 # or
 python3 -m pip uninstall socketify
pip install git+https://github.com/cirospaciari/socketify.py.git
 # or
python3 -m pip install git+https://github.com/cirospaciari/socketify.py.git

Please reopen this issue if you got some other type of errors.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failure to build Julia master on ARM-macOS due to libuv
We're seeing a build error on ARM-macOS, for julia master, ... Fix MacOS M1 and M2 builds, Maybe link zlib and libuv statically...
Read more >
c++ - building for Mac Catalyst, but linking in object file built for ...
Message sounds like " your library is built for Catalyst but my-file.cpp.o is built for macOS ". But it actually means:.
Read more >
Scala Native Documentation
This documentation is divided into different parts. It's recommended to go through the User's Guide to get familiar with Scala Native.
Read more >
2014-April.txt - Mailing Lists - LLVM
On MacOS X: $ clang -v Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM ... build the dependencies (libuv and luajit) and then...
Read more >
g++ - man pages section 1: User Commands
GCC normally generates special code to handle certain built-in functions ... As of this writing, only the NeXT runtime on Mac OS X...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found