-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error while loading shared libraries: libmicrohttpd.so.12: cannot open shared object file: No such file or directory #9
Comments
Do you compiled it before non static? Make sure that you delete CMakeCache.txt before. |
cmake . -DCMAKE_C_COMPILER=gcc-7 -DCMAKE_CXX_COMPILER=g++-7 -DWITH_LIBCPUID=OFF -DWITH_AEON=OFF -DWITH_HTTPD=OFF -DUV_LIBRARY=/usr/lib/x86_64-linux-gnu/libuv.a |
but: |
make clean && make Why aren't you just using the static build? It's exactly the same. |
server test: |
Currently no clue. Which os? I'll setup a VM and find it out. |
CentOS release 6.4 (Final) |
Thank you,I now test the success |
Hello,I want use static compile this
cmake . -DCMAKE_C_COMPILER=gcc-7 -DCMAKE_CXX_COMPILER=g++-7 -DWITH_LIBCPUID=OFF -DWITH_AEON=OFF -DWITH_HTTPD=OFF -DUV_LIBRARY=/usr/lib/x86_64-linux-gnu/libuv.a
But I execuce make:
Scanning dependencies of target xmrigMiner [ 2%] Building CXX object CMakeFiles/xmrigMiner.dir/src/api/Api.cpp.o [ 4%] Building CXX object CMakeFiles/xmrigMiner.dir/src/api/ApiState.cpp.o [ 6%] Building CXX object CMakeFiles/xmrigMiner.dir/src/api/NetworkState.cpp.o [ 8%] Building CXX object CMakeFiles/xmrigMiner.dir/src/App.cpp.o /root/桌面/pool/xmrigCC/src/App.cpp: In static member function ‘static void App::onCommandReceived(uv_async_t*)’: /root/桌面/pool/xmrigCC/src/App.cpp:250:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] auto command = reinterpret_cast<ControlCommand::Command &> (async->data);
Start file:
./xmrigMiner: error while loading shared libraries: libmicrohttpd.so.12: cannot open shared object file: No such file or directory
What should i do now?
The text was updated successfully, but these errors were encountered: