Hi Sajjadul,

You seem to have tricked things out to be as more complicated that I
can actually imagine, it really should be very straight forward.

There are two things that the OS needs to do to run any application -

  1) find the application itself - it'll do this via the PATH
variable, or any builts that your
      shell provides.  The OSG binaries are just examples so install in

     /usr/local/share/OpenSceneGraph/bin

    So you'll need to point PATH to this (in addition to any other
PATH previous set)

    export PATH = ${PATH}:/usr/local/share/OpenSceneGraph/bin

 2) find the libraries the the application needs - it'll do this via
LD_LIBRARY_PATH, or
     any built in paths that your shell provides.  Since they are
full blown libraries meant
     for reuse that are placed in

    /usr/local/lib or /usr/local/lib64 for 64 bit machines.

   // probably not needed as your built ins will probably find it:
   export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib

Then just test these out by running osgviewer.  If everthing works put
the vars in your .bashrc

Robert.

Robert.




On 1/9/07, Sajjadul Islam <[EMAIL PROTECTED]> wrote:
hELLO Alberto and Charles

Thanks for the the feedback that you have provided......still i couldnt
make it work

The path of the environment variable is already set  as Alerto said
I have edited the ld.so.conf file and ran ldconfig.


so i am attaching my /etc/profile and /etc/ld.so.conf file for yout scrutiny


it has really been long that i m stuck with  that problem


Sajjad


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/



_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to