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.
When compiling OSRM v0.4.2.b for CentOS 6 i get this error:
Any ideas on how I go around this? Compiling version 0.4.1 was no problem.