I need some help with dependencies issues, please.
I am using the latest code from the svn repo.
I am building on Ubuntu 12.04 64bit, the code does compile, and after
executing sudo make install and then executing osgbillboard i get the
following error:
"osgbillboard: error while loading shared libraries: libosg.so.93: cannot
open shared object file: No such file or directory"
The libosg.so.93 is present in the /usr/local/lib64/ directory.
When running ldd on /usr/local/lib64/libosg.so.93 i get the following result
linux-vdso.so.1 => (0x00007fffbe4c7000)
libOpenThreads.so.12 => not found
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007fe40b908000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fe40b6ff000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fe40b4fb000)
libGL.so.1 => /usr/lib/nvidia-current-updates/libGL.so.1
(0x00007fe40b1e3000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(0x00007fe40aee2000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fe40abe8000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fe40a9d2000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fe40a614000)
/lib64/ld-linux-x86-64.so.2 (0x00007fe40c066000)
libnvidia-tls.so.295.49 =>
/usr/lib/nvidia-current-updates/tls/libnvidia-tls.so.295.49
(0x00007fe40a411000)
libnvidia-glcore.so.295.49 =>
/usr/lib/nvidia-current-updates/libnvidia-glcore.so.295.49
(0x00007fe4080d7000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007fe407da2000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007fe407b91000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fe407972000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007fe40776f000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6
(0x00007fe407569000)
libOpenThreads.so.12 is not found, but it is present in /usr/local/lib64/
When executing cmake ../OpenSceneGraph -DCMAKE_BUILD_TYPE=Release i get the
following output.
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - 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
-- Looking for XOpenDisplay in
/usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in
/usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so -
found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
-- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so
-- checking for module 'gta'
-- package 'gta' not found
-- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so
-- Found OpenAL: /usr/lib/x86_64-linux-gnu/libopenal.so
-- checking for module 'cairo'
-- found cairo, version 1.10.2
-- checking for module 'poppler-glib'
-- found poppler-glib, version 0.18.4
-- Performing Test POPPLER_HAS_CAIRO
-- Performing Test POPPLER_HAS_CAIRO - Success
-- checking for module 'librsvg-2.0'
-- found librsvg-2.0, version 2.36.1
-- checking for module 'gtk+-2.0'
-- found gtk+-2.0, version 2.24.10
-- checking for module 'gtkglext-x11-1.0'
-- found gtkglext-x11-1.0, version 1.2.0
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt4: /usr/bin/qmake (found version "4.8.1")
-- Found JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.3.4")
-- Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so
-- Found TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so
-- Performing Test _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS
-- Performing Test _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS - Success
-- Performing Test _OPENTHREADS_ATOMIC_USE_MIPOSPRO_BUILTINS
-- Performing Test _OPENTHREADS_ATOMIC_USE_MIPOSPRO_BUILTINS - Failed
-- Performing Test _OPENTHREADS_ATOMIC_USE_SUN
-- Performing Test _OPENTHREADS_ATOMIC_USE_SUN - Failed
-- Performing Test _OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED
-- Performing Test _OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED - Failed
-- Performing Test _OPENTHREADS_ATOMIC_USE_BSD_ATOMIC
-- Performing Test _OPENTHREADS_ATOMIC_USE_BSD_ATOMIC - Failed
-- Looking for pthread_yield
-- Looking for pthread_yield - not found
-- Looking for sched_yield
-- Looking for sched_yield - found
-- Looking for pthread_setconcurrency
-- Looking for pthread_setconcurrency - not found
-- Looking for pthread_getconcurrency
-- Looking for pthread_getconcurrency - not found
-- Looking for pthread_setaffinity_np
-- Looking for pthread_setaffinity_np - not found
-- Performing Test HAVE_THREE_PARAM_SCHED_SETAFFINITY
-- Performing Test HAVE_THREE_PARAM_SCHED_SETAFFINITY - Success
-- checking for module 'xrandr'
-- found xrandr, version 1.3.2
-- Looking for gethostbyname in nsl
-- Looking for gethostbyname in nsl - found
-- Looking for socket in socket
-- Looking for socket in socket - not found
My concern is that things regarding pthread(s) is not found.
Thank you in advance
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org