Failed to build FileMQ, "cannot link with -lczmq", czmq is installed already - build

I am getting this error:
configure: error: cannot link with -lczmq, install libczmq.
on doing ./configure && make check.
I have installed libzmq, czmq and libsodium right before compilation, so it's the latest from repo.
How can I fix it?

Related

fatal error: 'openssl/evp.h' file not found cmake + make

Operating system: macOS Catalina
I have a project that has a file called CMakeLists.txt. I ran cmake and then make, but the make command failed:
/Users/blablabla/Downloads/myproject/src/main.cpp:10:10: fatal error:
'openssl/evp.h' file not found
#include <openssl/evp.h>
I tried reinstalling OpenSSL via homebrew, linking the libraries but it still gave this error.
What am I could be doing wrong?
Any help would be highly appreciated
either openssl's dev library is not installed, or the g++ command that cmake generates probably is missing a -I.
try sudo apt-get install libssl-dev first and if that doesn't work, make sure the openssl include dir is provided to g++.
according to https://cmake.org/cmake/help/v3.6/module/FindOpenSSL.html, it creates an env var of OPENSSL_INCLUDE_DIR
edit: just noticed you're on OSX. you can install the the dev libssl package with brew install openssl

CMake Link Library Fails in the Docker image

When building the docker image of a c++ project I'm facing issues when compiling the project inside the docker image because of a library linking issue
Docker file which is in the https://github.com/chinthakarukshan/jasminegraph/tree/master/docker location builds a docker image on top of ubuntu base image installing the necessary libraries required by the project. When compiling the project I'm getting a library linking issue and fails building the project with below error.
/usr/bin/ld: cannot find -lsqlite3
collect2: error: ld returned 1 exit status
make[3]: *** [JasmineGraph] Error 1
sqlite3 library is already installed in the Dockerfile. But it fails when linking the library.
Below is the cmake code which links the sqlite3 library with the project.
target_link_libraries(JasmineGraph sqlite3)
Below is the link to the corresponding CMakeList file.
https://github.com/chinthakarukshan/jasminegraph/blob/master/CMakeLists.txt
You need to install dev version:
RUN apt-get install -y libsqlite3-dev

Fedora V-Play on Qt: cannot find libraries

I am new for VPlay, after I installed V-Play with Qt and I wrote a simple project, and I got error message after compiling:
error: cannot find -lpulse-mainloop-glib
error: cannot find -lpulse
error: cannot find -lglib-2.0
But I tried:
sudo dnf install pulseaudio-libs
sudo dnf install glibs2
It shows that I already installed these libraries, but the result of compiling still the same.
What packages I should install now?
Try installing pulseaudio-libs-devel and glib2-devel.

Error while installing boost and PyUblas on mac os x

I have installed boost_1_55 using macport with the following command
"sudo port install boost"
no errors.
I am now trying to install PyUblas on my mac but i keep getting the following error
> src/wrapper/main.cpp:16:10: fatal error: 'boost/python.hpp' file not
> found
#include <boost/python.hpp>
1 error generated.
error: command '/usr/bin/clang' failed with exit status 1
can anyone help?
Installing boost from packages (Macports, Brew, etc) did not work for me, but installing from source did.
Download source from http://sourceforge.net/projects/boost/files/boost/1.55.0/
cd into folder, then install with:
./bootstrap.sh
./b2
./b2 install

Building 32bit version of libtorrent on osx using boost with python bindings

I'm running the following build command from the /bindings/python directory of libtorrent
./bjam boost=system link=static address-model=32 toolset=darwin architecture=x86 release
But I'm getting the following errors
/opt/local/include/boost/python/detail/wrap_python.hpp:50:23: error: pyconfig.h: No such file or directory
/opt/local/include/boost/python/detail/wrap_python.hpp:75:24: error: patchlevel.h: No such file or directory
/opt/local/include/boost/python/detail/wrap_python.hpp:78:2: error: #error Python 2.2 or higher is required for this version of Boost.Python.
/opt/local/include/boost/python/detail/wrap_python.hpp:142:21: error: Python.h: No such file or directory
Finally resulting in
...failed darwin.compile.c++ bin/darwin-4.2.1/release/address-model-32/architecture-x86/link-static/src/module.o..
Can anyone point to where I'm getting messed up?
The stupid question: Do you have python intalled? And if you do have it installed, but not in a standard place, you must tell bjam where to find it.
Oh, and was boost built with python support?