Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-16-2006, 03:24 PM   #1
LQ Newbie
Registered: Mar 2005
Distribution: Slackware 10.1
Posts: 15

Rep: Reputation: 0
ld not finding libraries in /usr/X11R6/lib

I've been trying to install Jahshaka and got up to openlibraries. The configure script had a small problem; it couldn't find libGLU. I wasn't sure why, so I just ran ldconfig and tried again. No dice. So a friend turned me on to some example OpenGL programs to try linking glut against, nothing. Basically, none of the libraries in /usr/X11R6/lib, from -lX11 and -lXm to -lGLU to -lglut aren't being found. But here's the weird part:

$  cat /etc/ 
# ldconfig -p | grep -i glu (libc6) => /usr/X11R6/lib/ (libc6) => /usr/X11R6/lib/ (libc6) => /usr/X11R6/lib/ (libc6) => /usr/X11R6/lib/
Does anyone know what's going on?
Old 01-16-2006, 04:14 PM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,891

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
One possibility is a dependency error (wrong version of GLU), but I'd think you would get error messages of some sort. Check the logs in /var/log to see if there is more to be learned.

Until you get it resolved, you could try running ./configure --help. Look for a configure option to specify include directories to search for libs: something like INCLUDELIBDIR=, and add that option to the ./configure command line. If it bombs again, check the logs.
Old 01-16-2006, 04:34 PM   #3
LQ Newbie
Registered: Mar 2005
Distribution: Slackware 10.1
Posts: 15

Original Poster
Rep: Reputation: 0
I've been doing that so far, but when I just try something on the command line, ld replies 'ld: cannot find -lglut' or similar.


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
error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy defa0009 Linux - General 5 03-02-2014 07:57 AM
Removing .a libraries in /usr/lib/ kunkie Linux - General 1 08-27-2005 11:44 PM
libraries compiling into /usr/lib acidjuice Slackware 4 05-14-2005 05:53 AM
Installation failed: file /usr/X11R6/lib/ from install of fglrx-glc22-4. witchy2k1 Linux - Newbie 13 01-25-2004 05:26 AM
g++ can't find libraries that are in /usr/lib williamtbranch Linux - Software 2 01-17-2004 01:28 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:08 PM.

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