LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 01-16-2006, 04:24 PM   #1
gustavderdrache
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:

Code:
$  cat /etc/ld.so.conf 
/usr/local/lib
/usr/X11R6/lib
/usr/i486-slackware-linux/lib
/opt/kde/lib
/usr/lib/qt/lib
Code:
# ldconfig -p | grep -i glu
        libglut.so.3 (libc6) => /usr/X11R6/lib/libglut.so.3
        libglut.so (libc6) => /usr/X11R6/lib/libglut.so
        libGLU.so.1 (libc6) => /usr/X11R6/lib/libGLU.so.1
        libGLU.so (libc6) => /usr/X11R6/lib/libGLU.so
Does anyone know what's going on?
 
Old 01-16-2006, 05:14 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,805

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
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, 05:34 PM   #3
gustavderdrache
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.
 
  


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


All times are GMT -5. The time now is 02:40 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration