Download your favorite Linux distribution at LQ ISO.
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 04-04-2004, 06:16 PM   #1
LQ Newbie
Registered: Apr 2004
Posts: 11

Rep: Reputation: 0
update gtk+

I just tried to update my gtk+ to version 1.2.10. But runnig the configscript it tells me it can't find XOpenDisplay in my libX11.
The exact printout looks:

checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking for XOpenDisplay in -lX11... no
configure: error: *** libX11 not found. Check 'config.log' for more details.

In the config.log it looks like this:

int main() {
; return 0; }
configure:5393: checking for XOpenDisplay in -lX11
configure:5412: gcc -o conftest -g -O2 -Wall -I/usr/X11R6/include -L/usr/X11R6/lib conftest.c -lX11 1>&5
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 5401 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char XOpenDisplay();

int main() {
; return 0; }

Anyone's got any ideas of whats causing this? How do I solve the problem?
Old 04-04-2004, 07:10 PM   #2
Registered: Apr 2004
Location: Brisbane Australia
Distribution: UBUNTU 13.04
Posts: 61

Rep: Reputation: 19
Hello Palano,

I don't know what distro you are using so see if they have included libxfree86-static-devel

This includes the X11R6 static libraries needed to build statically linked programs.

At least you now know what to install even if I can't tell you where to get it.

Have Fun,
Larry Keenan
Old 04-04-2004, 07:42 PM   #3
LQ Newbie
Registered: Apr 2004
Posts: 11

Original Poster
Rep: Reputation: 0
I'm running debian woody.
I have the X11R6 libraries installed.


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
how do i update GTK+??? yzq Mandriva 2 04-09-2005 03:01 PM
GTK+ Update DVation Linux - Software 2 11-30-2004 01:17 PM
Gkrellm will not load, do I need to update GTK? DR_K13 Red Hat 7 10-28-2004 02:38 AM
GTK Doesn't Update? Stuck on 1.2.7 GT_Onizuka Linux - Software 3 11-22-2003 03:38 PM
Which GTK to update to? dvergin Linux - Software 1 04-04-2003 01:40 AM > Forums > Linux Forums > Linux - Software

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