Fix MacOS M1 and M2 builds, Maybe link zlib and libuv statically in macOS
See original GitHub issueAdd 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:
- Created 10 months ago
- Comments:6 (4 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Works! Thank you.
@seanr3 Good news, i created an new process to cross-compile libuv statically using cmake and things worked here!![image](https://user-images.githubusercontent.com/6379399/203813364-c2d14199-db78-40da-a4e5-c25d1780c2ec.png)
No need to build manually anymore. Please uninstall and reinstall again
Please reopen this issue if you got some other type of errors.