Error while compiling: /usr/bin/ld: ../../../libs/poco/lib/linux64/libPocoFoundation.a(Mutex.o)||undefined reference to symbol 'pthread_mutexattr_settype@@GLIBC_2.2.5'|
Hello.
I installed OF in Fedora 16, with the dependences and others that aren't in the script. After many times, Trying to compile the advanced3dExample, adding the headers as symbolic links, finally got this:
$ make
Package jack was not found in the pkg-config search path.
Perhaps you should add the directory containing `jack.pc'
to the PKG_CONFIG_PATH environment variable
No package 'jack' found
Package glew was not found in the pkg-config search path.
Perhaps you should add the directory containing `glew.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glew' found
Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo' found
linking bin/advanced3dExample . ./src ./.settings
mkdir -p bin
g++ -o bin/advanced3dExample obj/x86_64Release/./src/main.o obj/x86_64Release/./src/testApp.o obj/x86_64Release/./src/OrthoCamera.o obj/x86_64Release/./src/Grid.o obj/x86_64Release/./src/Swarm.o -Wl,-rpath=./libs ../../../libs/openFrameworksCompiled/lib/linux64/libopenFrameworks.a ../../../libs/freetype/lib/linux64/libfreetype.a ../../../libs/kiss/lib/linux64/libkiss.a ../../../libs/portaudio/lib/linux64/libportaudio.a ../../../libs/rtAudio/lib/linux64/libRtAudio.a ../../../libs/tess2/lib/linux64/libtess2.a ../../../libs/poco/lib/linux64/libPocoNet.a ../../../libs/poco/lib/linux64/libPocoXML.a ../../../libs/poco/lib/linux64/libPocoUtil.a ../../../libs/poco/lib/linux64/libPocoFoundation.a -L../../../libs/fmodex/lib/linux64 -L../../../libs/freetype/lib/linux64 -L../../../libs/kiss/lib/linux64 -L../../../libs/openFrameworksCompiled/lib/linux64 -L../../../libs/poco/lib/linux64 -L../../../libs/portaudio/lib/linux64 -L../../../libs/rtAudio/lib/linux64 -L../../../libs/tess2/lib/linux64 -lfmodex -lglut -lGL -lasound -lopenal -lsndfile -lvorbis -lFLAC -logg -lfreeimage -lGLU
/usr/bin/ld: ../../../libs/poco/lib/linux64/libPocoFoundation.a(Mutex.o): undefined reference to symbol 'pthread_mutexattr_settype@@GLIBC_2.2.5'
/usr/bin/ld: note: 'pthread_mutexattr_settype@@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: ld devolvió el estado de salida 1
make: *** [bin/advanced3dExample] Error 1
Looks like an issue with file: /lib64/libpthread.so.0
How can i workaround this?