LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-06-2012, 11:50 AM   #1
knobby67
Member
 
Registered: Mar 2006
Posts: 627

Rep: Reputation: 43
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
 
Old 05-06-2012, 01:02 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,241

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
Quote:
Originally Posted by knobby67 View Post
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 View Post
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?
 
Old 05-07-2012, 03:16 AM   #3
knobby67
Member
 
Registered: Mar 2006
Posts: 627

Original Poster
Rep: Reputation: 43
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
usb.h in Eclipse -Fedora 10 /usr/lib/libusb-0.1.so.4.4.4 & dlltool not linking ddeeks Programming 4 05-12-2009 09:19 AM
linking in lib staticly to enable gdb pbharris Programming 0 12-29-2008 08:07 PM
mplayer linking lib classic Linux - General 2 09-23-2006 09:44 AM
Problem linking assembly program with C lib. 95se Programming 1 03-08-2005 09:44 PM
Linking whole archive into shared lib mj_ Programming 0 07-23-2004 06:00 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration