What OS are you on?

Typically for Linux you add the library paths to /etc/ld.so.conf or add a file with an entry to /etc/ld.so.conf.d dir.

Entries are just paths, so you can add a line like this:
/usr/local/lib

After you've modified above, do:
sudo ldconfig

Then try one of the OSG examples again.

You can see if an executable (in current dir) finds its libraries by doing e.g.:
ldd osgviewer

jp

On 20/05/11 11:56, [email protected] wrote:
Hi.

I finally made OSG to be build :-)
I solved the "glu.h" problem by installing several missing packages.

But now, my problem is that my system does not seem to find the osg libs
configure once told me the following:

The build system is configured to install libraries to /usr/local/lib
Your applications may not be able to find your installed libraries unless you:
     set your LD_LIBRARY_PATH (user specific) or
     update your ld.so configuration (system wide)
You have an ld.so.conf.d directory on your system, so if you wish to ensure that
applications find the installed osg libraries, system wide, you could install a
openscenegraph specific ld.so configuration with:
     sudo make install_ld_conf

But where do I have to do this? When I try "sudo make install_ld_conf" in the OpenSceneGraph Source 
directory, the result is like "No rule to make target>>install_ld_config<<".

When I try to execute it within the OSG2.3.2. sources I don't get this error. Actually 
there is no directory like "CMakeFiles/install_ld_conf.dir" in my 2.3.4. source 
folder. Unlike the old folder with the 2.3.2. sources.

Have I downloaded the wrong sources? Are the necessary file simply missing? Ho 
do I get the system to find the OSG libs (e.g. libosgViewer.so)? Setting the 
LD_LIBRARY_PATH variable with the correct path wasn't successful.

I hope this one is not too Off-Topic compared to the thread subject ;-)





----- Original Nachricht ----
Von:     Ulrich Hertlein<[email protected]>
An:      OpenSceneGraph Users<[email protected]>
Datum:   20.05.2011 08:13
Betreff: Re: [osg-users] Problems Building OSG (Make: "Protocol error")

On 20/05/11 7:38 , Patrick Steffens wrote:
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

Are you maybe building on a (shared?) file system that does not support
symlinks?

Cheers,
/ulrich
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

--
This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to