artemp/trac2github — Issue #839: command line tools on RHEL need -lpthread when compiled with clang++
Author: artemp
Created: 2011-10-09 20:52:48+00:00
State: open
Labels: Core_Library

{{{
clang++ -o tests/cpp_tests/font_registration_test tests/cpp_tests/font_registration_test.o -Lagg -Lsrc -L/usr/local/lib -L/opt/mapnik/lib -L/usr/lib -L/opt/mapnik/lib/lib -L/usr/lib64 -lagg -lfreetype -lltdl -lpng -ltiff -lz -ljpeg -lproj -licuuc -lboost_filesystem -lboost_regex -lxml2 -lboost_thread -lboost_system -lmapnik2
/usr/bin/ld: : invalid DSO for symbol `pthread_cancel@@GLIBC_2.2.5' definition
}}}