Closed ecruzolivera closed 3 years ago
Looks like a linking issue and not sure why that is the case. Can you try re-installing libcap-dev
?
@ecruzolivera I just spun up a fresh Ubuntu 20.04 EC2 instance, ran a few commands like:
sudo apt-get install pkg-config cmake build-essential libssl-dev libcurl4-openssl-dev
And then I followed the README steps exactly, create build dir, and I ran the same command:
cmake -DBUILD_STATIC_LIBS=TRUE ../
make
And I had no issues I was able to build it no problems. I'm not sure if this issue is as @disa6302 mentioned due to a bad libcap-dev
installation, I never had to directly install that. Maybe try with Ubuntu 20.04 not sure if this could be due to subtle differences in PopOS, that might help narrow down the problem.
I'm removing the bug label since I'm not able to repro this on a fresh Ubuntu 20.04 machine.
Hi @disa6302 @hassanctech i sudo apt install --reinstall libcap-dev
and was able to static compile the library, thanks for the help.
Great! It you have further troubles feel free to open a new Issue.
Describe the bug I cant statically build the project, for what i can see i says that cant link against libcap, but in have libcap-dev installed, im under PopOs 20.04 (Ubuntu 20.04)
SDK version number version: commit f5b89d4b6e6116a06f0bd2580967142e98ce6f70 (HEAD -> master, origin/master, origin/HEAD)
Open source building Error when libwebsockets links against libcap
To Reproduce Steps to reproduce the behavior:
Expected behavior Statically build successfully