Not building uws correctly?
See original GitHub issueI’m not sure if this is a bug per-se because i don’t know who is building uws, but the problem is manifesting itself there and the only module requiring it is this one so here i am.
You want to:
- report a bug?
Current behaviour
error on build in uws
Expected behaviour
not to error on build
Setup
- OS: mac osx
- browser: electron
- engine.io version: 3.1.3
Other information (e.g. stacktraces, related issues, suggestions how to fix)
in stdout
dyld: lazy symbol binding failed: Symbol not found: _SSL_library_init
Referenced from: /Users/michaelmclaughlin/Sites/specless/cloud-compiler/sync/node_modules/uws/uws_darwin_57.node
Expected in: flat namespace
dyld: Symbol not found: _SSL_library_init
Referenced from: /Users/michaelmclaughlin/Sites/specless/cloud-compiler/sync/node_modules/uws/uws_darwin_57.node
Expected in: flat namespace
in build log
CXX(target) Release/obj.target/uws/src/Extensions.o
CXX(target) Release/obj.target/uws/src/Group.o
In file included from ../src/Group.cpp:1:
In file included from ../src/Group.h:4:
In file included from ../src/WebSocket.h:4:
In file included from ../src/WebSocketProtocol.h:5:
../src/Networking.h:7:10: fatal error: 'openssl/opensslv.h' file not found
#include <openssl/opensslv.h>
^~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [Release/obj.target/uws/src/Group.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at emitTwo (events.js:125:13)
gyp ERR! stack at ChildProcess.emit (events.js:213:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 16.7.0
gyp ERR! command "/usr/local/Cellar/node/8.4.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/michaelmclaughlin/Sites/specless/cloud-compiler/sync/node_modules/uws
gyp ERR! node -v v8.4.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:10 (1 by maintainers)
Top Results From Across the Web
Court order beheading West Side tower could halve super tall
Almost half of UWS tower would have to be removed under new court ruling. Representatives for the firm, SJP Properties, contends the judge ......
Read more >Judge Rules UWS High-Rise Must Tear Down 20 ... - YouTube
Community groups are claiming a victory in a building battle on the Upper West Side, after a judge ordered developers to take down...
Read more >Judge Rules UWS High-Rise Must Tear Down 20 ... - CBS News
A judge has ordered developers to take down several floors from a nearly-completed high rise on Amsterdam Avenue.
Read more >NYC's 'Worst Landlord' Owns A Building On The Upper West ...
Tenants of one Upper West Side building can lay claim to living in a property owned by the worst landlord in NYC, a...
Read more >New Upper West Side High-Rise Is Actually Too Tall for City
The developer could be forced to shorten the building by more than a dozen stories after a judge ruled that the 670-foot tall...
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 FreeTop 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
Top GitHub Comments
uws is not an Electron module. It is a Node.js module. This is clearly stated in the README and FAQ. You’re far from the first one to report such a “bug”.
uws is not a PlayStation 4 game. It is also not an app for Windows Phone. Neither is it a swimming pool. It is a Node.js module.
uws (for Node.js) has precompiled binaries and will gracefully fall back to these if compilation fails. Also, there is no need whatsoever to tinker with headers like @vincentbriglia - that’s not even the proper way! Nobody tells you to mix and match like that! “npm install uws” is official, nothing else!
Electron is not even a server project!
Set environment variable
export EIO_WS_ENGINE=ws
to use ws instead of uws.