microsoft / cpprestsdk

The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
Other
8.01k stars 1.66k forks source link

Compilation Error on Manjaro Linux (arch) #1611

Closed paulober closed 1 year ago

paulober commented 3 years ago

/var/lib/snapd/snap/clion/149/bin/cmake/linux/bin/cmake --build /home/myuser/CLionProjects/myproject/cmake-build-debug --target myproject -- -j 12

[ 33%] Linking CXX executable myproject

/usr/bin/ld: CMakeFiles/dsbackend.dir/main.cpp.o: undefined reference to symbol 'ERR_reason_error_string@@OPENSSL_1_1_0' /usr/bin/ld: /usr/lib/libcrypto.so.1.1: error adding symbols: DSO missing from command line

collect2: Error: ld returns 1 as status make[3]: [CMakeFiles/myproject.dir/build.make:119: myproject] Error 1 make[2]: [CMakeFiles/Makefile2:95: CMakeFiles/myproject.dir/all] Error 2 make[1]: [CMakeFiles/Makefile2:102: CMakeFiles/myproject.dir/rule] Error 2 make: [Makefile:137: myproject] Error 2

Can somebody help? I've installed openssl, boost and some other libs but it don't work. I've build the library from source and this worked without any problem, but now if i would use it, it fails.