Larry,

With the update in Fedora Rawhide to Boost 1.60 it looks like a pthread
linking problem has cropped up:

[ 87%] Linking CXX executable iinfo
cd /builddir/build/BUILD/oiio-Release-1.6.11/build/linux/src/iinfo &&
/usr/bin/cmake -E cmake_link_script CMakeFiles/iinfo.dir/link.txt
--verbose=1
ccache /usr/lib64/ccache/c++   -O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
--param=ssp-buffer-size=4 -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic  -O2 -g
-DNDEBUG   -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld
CMakeFiles/iinfo.dir/iinfo.cpp.o  -o iinfo -rdynamic
../libOpenImageIO/libOpenImageIO.so.1.6.11 -lboost_filesystem -lboost_regex
-lboost_system -lboost_thread -lboost_chrono -lboost_date_time
-lboost_atomic -lrt -ldl -lOpenColorIO -lopencv_core -lopencv_highgui -lssl
-lcrypto -lfreetype -lpng -lz -ltiff -ljpeg -lField3D -lhdf5 -lIlmImf
-lImath -lIex -lHalf -lIlmThread -lopenjpeg -lwebp -lgif -lraw_r -lz -ltiff
-ljpeg -lField3D -lhdf5 -lIlmImf -lImath -lIex -lHalf -lIlmThread
-lopenjpeg -lwebp -lgif -lraw_r -lpugixml
-Wl,-rpath,/builddir/build/BUILD/oiio-Release-1.6.11/build/linux/src/libOpenImageIO:
/usr/bin/ld: CMakeFiles/testtex.dir/testtex.cpp.o: undefined reference to
symbol 'pthread_create@@GLIBC_2.2.5'
/usr/lib64/libpthread.so.0: error adding symbols: DSO missing from command
line
collect2: error: ld returned 1 exit status
src/testtex/CMakeFiles/testtex.dir/build.make:139: recipe for target
'src/testtex/testtex' failed

Nothing jumps out at me though during the cmake configuration:

-- BOOST_ROOT
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Boost version: 1.60.0
-- Found the following Boost libraries:
--   filesystem
--   regex
--   system
--   thread
--   chrono
--   date_time
--   atomic
-- BOOST_ROOT
-- Boost found 1
-- Boost version      106000
-- Boost include dirs /usr/include
-- Boost library dirs /usr/lib64
-- Boost libraries
 
/usr/lib64/libboost_filesystem.so;/usr/lib64/libboost_regex.so;/usr/lib64/libboost_system.so;/usr/lib64/libboost_thread.so;/usr/lib64/libboost_chrono.so;/usr/lib64/libboost_date_time.so;/usr/lib64/libboost_atomic.so;rt


Thanks,
Richard
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to