Skip to content

Compilation Error on Manjaro Linux (arch) #1611

@paulober

Description

@paulober

/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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions