Hi Juan,

by default the system will not search libs in /usr/local/lib/dbg! My Ubuntu does not even look in /usr/local/lib by default!
So you have to add that path to your  LD_LIBRARY_PATH environment variable!

Thomas


Juan José Aja Fernández wrote:

Hi Everyone,

I'm having trouble running the Tutorials under Ubuntu 5.04, typing make builds them flawlessly, but when I try to run 01hello for example it says: "error while loading shared libraries: libOSGWindowGLUT.so: cannot open shared object file: No such file or directory"

The weird thing is that libOSGWindowGLUT.so is under: /usr/local/lib/dbg/ so there shouldn't be any problems regarding that (also the Makefile has the line -L/usr/local/lib/dbg)

Just to clarify things I did the following configure prior to building and installation:

./configure --enable-glut --with-glut=/usr --with-glutlibdir=/usr/lib --with-tif --with-jpg --with-png

in /usr/lib there's: libglut.a, libglut.so.3.8.0, libglut.so and libglutso.3 (these two are just symbolic links to libglut.so.3.8.0), and glut.h is in /usr/include/GL).

Any Ideas as to what's going on?

Thanks a lot.

Juan




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to