Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-20-2003, 10:14 AM   #1
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 file and command 'ldconfig' ..

My looks like this:

/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?

Old 12-20-2003, 02:44 PM   #2
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, 03:36 AM   #3
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!


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

All times are GMT -5. The time now is 06:44 AM.

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