Skip to content

Compiling 0.4.2b on CentOS 6 #1110

@awakse

Description

@awakse

When compiling OSRM v0.4.2.b for CentOS 6 i get this error:

Linking CXX executable osrm-prepare
/opt/centos/devtoolset-1.1/root/usr/libexec/gcc/x86_64-redhat-linux/4.7.2/ld: /usr/lib/../lib64/libstxxl.so: undefined reference to symbol 'pthread_cancel@@GLIBC_2.2.5'
/opt/centos/devtoolset-1.1/root/usr/libexec/gcc/x86_64-redhat-linux/4.7.2/ld: note: 'pthread_cancel@@GLIBC_2.2.5' is defined in DSO /lib64/libpthread.so.0 so try adding it to the linker command line
/lib64/libpthread.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [osrm-prepare] Error 1
make[1]: *** [CMakeFiles/osrm-prepare.dir/all] Error 2
make: *** [all] Error 2

Any ideas on how I go around this? Compiling version 0.4.1 was no problem.

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