Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 03-18-2004, 08:00 AM   #1
Registered: Sep 2003
Location: Gorredijk, Netherlands
Distribution: Arch Linux
Posts: 400

Rep: Reputation: 30
Compile ogle => You need libXext

I'm trying to compile ogle. At one point I get this:

checking for X11/extensions/XShm.h... no
checking for XShmQueryExtension in -lXext... no
configure: error: You need libXext

I'm on Mandrake 10.0 Community
What to do?
Old 03-18-2004, 01:53 PM   #2
Registered: Sep 2003
Location: Dallas, Tx, USA
Distribution: Red Hat, Gentoo, Libranet
Posts: 98

Rep: Reputation: 16
Well, the true, absolutely 100% correct, but spectacularly unhelpful answer is "Install the rpm that has in it."

Since you probably don't have any idea which package that is, it's not terribly helpful.

I don't have Mandrake 10.0 set up (I'm not even sure I've downloaded it), so I can't be certain of what package it might be in.

The library is referring to X extensions, so it's definitely going to be an X-related package.

My Gentoo box has it in "xfree", which is the basic XFree86 package. That argues it's one of the basic ones. (And causes me to be surprised you don't have it.)

My Red Hat box has in in "XFree86-libs-4.3.0-2" (Your version will very likely be at least a little different.)

So, my advice:

See if you have a package called XFree86-libs. If you do, see if it's installed....


I just thought of something else entirely. Do a "locate". If you get something back, that means you DO have it, and you have a problem in Ogle's configuration. (Probably something like you'll have to pass it some info on what directories to look in for libraries.)

If "locate" doesn't exist, has problems, etc, you can do the same thing with "find / -name".

Ok, now back to the idea that you DON'T have it. We were looking to see if there were any packages named something like XFree86-libs. If you find any, run "rpm -ql <package name>" and grep the output for the library.

Basically, you keep doing that with every package that looks like it might have something to do with it until you find the file. A post on the Mandrake board might find somebody with it already installed, and they can tell you what package it's in.

One last note: If you've run out of already-installed packages, and need to see what's in the packages that are on the CD, you have to add the "-p" parameter, and you don't use the package name ("xyzapp" for instance), you use the file name "xyzapp-3.6.8-i386.rpm". For instance, if you mounted the CD on /cdrom, you might enter "rpm -qlp /cdrom/Mandrake/RPMS/xyzapp-3.6.8-i386.rpm | grep". (Run it once without the "| grep..." to make sure you've got the rpm command right. It should give you a list of file names.)

If/when you find the package that has the file, install that package. You should then be able run your ogle compile. (Suggestion, though - see if you can find a pre-canned ogld on someplace like Might save you a lot of grief.)

Hope this helps,

Old 03-18-2004, 05:32 PM   #3
Registered: Sep 2003
Location: Gorredijk, Netherlands
Distribution: Arch Linux
Posts: 400

Original Poster
Rep: Reputation: 30
I installed the libxfree86-devel package and it worked. Thanks!
One down, alot of other dependencies to go


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
libXext sandman545 Ubuntu 5 05-19-2005 06:03 AM
libxext sandman545 Linux - Newbie 2 05-11-2005 05:42 AM
Trying to Compile ogle, Stops at ./configure when looking for libglade predator.hawk Slackware 5 10-09-2004 07:55 AM
trying to compile... libXext errors stevenhasty Linux - Software 0 06-16-2003 12:21 AM
libXext... jakublgz Linux - General 7 02-08-2003 12:02 PM > Forums > Linux Forums > Linux - Newbie

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