Skip to content

Linking problem with redisserversample #244

@marcosszydlo

Description

@marcosszydlo

I would like to try out libjson-rpc-cpp. I am using Red Hat 7, so I pulled the project from github and I am following the instructions to build it. Everything compiles, but I am running into the following link error:

[ 66%] Linking CXX executable ../../bin/redisserversample
../../lib/libjsonrpccpp-server.so.1.0.0: undefined reference to pthread_create' ../../lib/libjsonrpccpp-server.so.1.0.0: undefined reference to pthread_join'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/redisserversample] Error 1
make[1]: *** [src/examples/CMakeFiles/redisserversample.dir/all] Error 2
make: *** [all] Error 2

Do you have any suggestions as to how to proceed?

Thanks,
Marcos

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions