Yes I didn't know that it was debian's policy (and therefore ubuntu's) to not include /usr/local/lib in the default LD_LIBRARY_PATH, so all I needed was the export you mention.

Again Thanks for all your help.

Juan

On 11/7/05, Dirk Reiners <[EMAIL PROTECTED]> wrote:

        Hi Juan,

On Mon, 2005-11-07 at 16:23 -0600, 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?

how did you install it? Just make install or the RPM?

In the former case the library is in /usr/local/lib/dbg, but that is not
part of for LD_LIBRARY_PATH by default, so you'll have to add it:

export LD_LIBRARY_PATH=/usr/local/lib/dbg:$LD_LIBRARY_PATH

or alternatively add links to /usr/local/lib.

Hope it helps

        Dirk




-------------------------------------------------------
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