LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   What lib is an so file linking to (https://www.linuxquestions.org/questions/programming-9/what-lib-is-an-so-file-linking-to-943540/)

knobby67 05-06-2012 11:50 AM

What lib is an so file linking to
 
Hi I've just installed libglew for some graphics software. However I'm unsure if it's linking against lGL in the the correct fglrx libgl or the mesa one in i386-Linux folder glee has been put into. Is there away to find out?

On a second question I'm trying to install ogre however because glew is installed its reporting no lgl file ogre hides everything behind cmake can anyone tell me is there away I can tell it to look in the fglrx file or use glew ?
Thanks all

business_kid 05-06-2012 01:02 PM

Quote:

Originally Posted by knobby67 (Post 4671701)
Hi I've just installed libglew for some graphics software. However I'm unsure if it's linking against lGL in the the correct fglrx libgl or the mesa one in i386-Linux folder glee has been put into. Is there away to find out?

ldd <executable>
you can usually use a -L option if you read the configure script help.

Quote:

Originally Posted by knobby67 (Post 4671701)
On a second question I'm trying to install ogre however because glew is installed its reporting no lgl file ogre hides everything behind cmake can anyone tell me is there away I can tell it to look in the fglrx file or use glew ?
Thanks all

Hack the Makefile? Put a symlink tyo the one you want in /usr/lib?

knobby67 05-07-2012 03:16 AM

Thanks used ldd.

Found a way to use cmake to change directory path in advanced options. Havking make would have been a mightmare as there were dozens of them :s


All times are GMT -5. The time now is 03:46 PM.