LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-20-2003, 09:14 AM   #1
TiRaK
LQ Newbie
 
Registered: Dec 2003
Location: Finland
Distribution: Slackware 9.1/Mandrake9.2
Posts: 5

Rep: Reputation: 0
Question Compiling programs? [Mandrake]


I'm sure this has been asked before in some form but:

After a fresh install of Mandrake 9.2 I cant compile programs because ./configure gives
error "Cant find X libraries". This has happened in several programs.

After reading man pages and forums I think it has something to do with ld.so.conf file and command 'ldconfig' ..

My ld.so.conf looks like this:

/usr/X11R6/lib
/usr/lib/qt3/lib
/usr/X11R6/include (added myself, no luck)

and I used 'ldconfig' command after changing that file

Bottom line question is how can i set my paths right so that compiling works?

.thanks.
 
Old 12-20-2003, 01:44 PM   #2
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Your paths are probably fine; my guess is that you do not have the XFree86 development libraries installed. Look for a package (RPM) called xfree86-devel, or libxfree86-devel. Those should have the ones you need.
 
Old 12-22-2003, 02:36 AM   #3
TiRaK
LQ Newbie
 
Registered: Dec 2003
Location: Finland
Distribution: Slackware 9.1/Mandrake9.2
Posts: 5

Original Poster
Rep: Reputation: 0
yep, that was the problem.

just figured it out 'bout an hour after posting my thread :]

Thanks anyway!
 
  


Reply



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
Compiling Programs Thorrn4 Linux - Software 6 03-26-2005 12:25 AM
Compiling C++ programs rchillal Linux - Newbie 13 02-08-2005 05:27 AM
Compiling programs from source in Mandrake 10 AMD64 RC1 hydroxy Linux - Software 7 05-12-2004 03:55 PM
Compiling Programs mike35 Linux - Newbie 2 10-22-2003 09:39 AM
compiling programs disorderly Linux - Newbie 2 10-17-2003 12:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:55 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