[osg-users] Problems Building OSG (Make: "Protocol error")
Hi there. I was hardly trying to build OSG on my virtual machine with OpenSuSE 11.2 installed on it. I did the following steps: 1. downloaded the sources of OSG 2.8.4. 2. unzipped them 3. ran the configure script from within the folder I attached the output of the configure script. 4. Finally I ran make and this one threw an error of which really cannot find a solution for. Firstmake builds 6 CXX-Objects and then i get the following error: Linking CXX shared library ../../../lib/libOpenThreads.so CMake Error: cmake_symlink_library: System Error: Protocol error CMake Error: cmake_symlink_library: System Error: Protocol error make[2]: *** [lib/libOpenThreads.so.2.4.0] Fehler 1 make[1]: *** [src/OpenThreads/pthreads/CMakeFiles/OpenThreads.dir/all] Fehler 2 make: *** [all] Fehler 2 What the hell does "Protocol error" mean in this context and how can I get rid of it? Hopefully that you can help me, Patrick -- 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/libX11.so;/usr/lib/libXext.so -- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/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/libX11.so -- checking for module 'libxml-2.0' -- package 'libxml-2.0' not found -- Could NOT find LibXml2 (missing: LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR) -- Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR) -- checking for module 'xulrunner-xpcom<=1.8.9' -- package 'xulrunner-xpcom<=1.8.9' not found -- checking for module 'xulrunner-js' -- package 'xulrunner-js' not found -- checking for module 'xulrunner-nspr' -- package 'xulrunner-nspr' not found -- checking for module 'xulrunner-nss' -- package 'xulrunner-nss' not found -- checking for module 'gtk+-2.0' -- found gtk+-2.0, version 2.18.1 -- checking for module 'gtkglext-x11-1.0' -- package 'gtkglext-x11-1.0' not found -- checking for module 'librsvg-2.0' -- package 'librsvg-2.0' not found -- checking for module 'cairo' -- found cairo, version 1.8.8
Re: [osg-users] [build] [Linux] Could not open shared object file: No such file or directory
Hi, Thanks. The plugin is now been found by the browser. Is there a possibility to mage osg look into /usr/local/lib every time the system starts? I've done this before, but I don't really remember how I made it work ;-) Greetz Patrick -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=34470#34470 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] [build] [Linux] Could not open shared object file: No such file or directory
Hi, I have written a Plugin for Firefox. The Plugin realizes a osgViewer within a QApplication. Now when I start Firefox and open about:plugins, firefox fails loading the plugin with the message (translated in English): Code: Shared to initialize shared library . [libosgViewer.so.55: could not open shared object file: File not found] When I change the order of the libraries in the .pro file, the message changes accordingly. I followed the build steps from the osg page and everything went fine (no errors etc.). The .so files are located in /usr/local/lib . The code of my program worked fin a while ago, but after having changed the system. So the problem must somewhere else. Do you have any ideas? Greetz Patrick -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=34331#34331 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org