Comments (7)
Will this work on a Mac?
make
Building LuaJIT...
HOSTCC host/minilua.o
HOSTLINK host/minilua
ld: library not found for -lgcc_s.10.4
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [host/minilua] Error 1
make: *** [deps/luajit/src/libluajit.a] Error 2
from wrk2.
It described in wiki:
https://github.com/giltene/wrk2/wiki
from wrk2.
I am having a slightly differnt issue compiling on MacOS, and none of the suggestions in the wiki work.
BUILDVM lj_folddef.h
make[1]: *** [lj_folddef.h] Segmentation fault: 11
make[1]: *** Deleting file `lj_folddef.h'
make: *** [deps/luajit/src/libluajit.a] Error 2
from wrk2.
It's sort of along the lines of:
git clone https://github.com/giltene/wrk2.git
cd wrk2
sudo apt install build-essential # or your distros equivalent of "fetch Clang/GCC and the rest". E.g. yum groupinstall "Development Tools"
make
# find . -type f -print0 | xargs -0 dos2unix # if you get "error: 'recff_rawlen'" during make, and run make again.
from wrk2.
@abelsromero - did you find a workaround? I have the same issue
from wrk2.
make MACOSX_DEPLOYMENT_TARGET=10.14
WFM
from wrk2.
😆 new one
LUAJIT src/wrk.lua
./luajit: cannot create state: not enough memory
make: *** [obj/bytecode.o] Error 1
from wrk2.
Related Issues (20)
- Run Make without Lua Script
- [question] wrk2 support http2?
- Req/Sec reports nan HOT 1
- Unsupported target architecture - arm64 M1 Mac HOT 4
- wrk2 installation failed on Mac OS Monterey and Apple M1 Max chip HOT 3
- What's the unit of latency used in lua scripting? HOT 1
- Cut off a release?
- How to import hmac to lua script?
- How -R works and why I can't corellate resulting Requests/sec with it? HOT 5
- Web/Desktop Application to load histogram data from wrk2
- How to associate response with request in Lua script
- Are there plans to port the code to the windows platform HOT 3
- more a question than an issue ...
- can not make.
- does wrk2 supports tlsv1.3 over https?
- Question
- wrk2 produces incorrect results HOT 5
- add windows platform support
- Sampling latency
- Cannot build on MacOS Sonoma 14.4.1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wrk2.