Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 01-05-2003, 06:46 PM   #1
Registered: Dec 2002
Location: Plains
Distribution: Slackware 13
Posts: 465

Rep: Reputation: 30
GTK 2.2 Compile?

Because of boredom-ignorance I tried to compile GTK 2.2 from source once more. After reading several HowTos, I still get this error.

creating libtool
checking for Win32... no
checking for aclocal flags...
checking for pkg-config... /usr/local/bin/pkg-config
checking for GLIB - version >= 2.0.0... no
*** Could not run GLIB test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding GLIB or finding the wrong
*** version of GLIB. If it is not finding GLIB, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ to point
*** to the installed location Also, make sure you have run ldconfig if that
*** is required on your system
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
configure: error:
*** GLIB 2.0.0 or better is required. The latest version of
*** GLIB is always available from
I would appreciate any help. My New Years Resolution was not to destroy anymore innocent keyboards.
Old 01-05-2003, 07:26 PM   #2
Senior Member
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
Slackware 8.1 installs glib-1.2.10. You will need to download, build, install. glib 2.0.0 or greater.

If you believe that you have done that, then make sure they are located in the /usr/lib directory tree as libglib* with version 2 numbers. If they are present, then try running the command "ldconfig" and then reattempt your build.

Good luck.
Old 01-05-2003, 10:07 PM   #3
Registered: Dec 2002
Location: Plains
Distribution: Slackware 13
Posts: 465

Original Poster
Rep: Reputation: 30
"ldconfig" That was the problem. Thanx


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
gtk+ 2.8.4 compile problem bad_zeppelin Linux - Software 3 09-30-2005 10:29 PM
GTK Compile Problem MRLindstrom Linux - Software 2 01-24-2005 02:30 AM
GTK compile problems AnimaSola Linux - Software 13 07-14-2004 07:30 PM
gtk+2.4.4 compile problems AnimaSola Linux - Software 0 07-13-2004 08:49 PM
Can't compile gtk+ programs =\ EnigmaX Linux - Software 19 09-17-2003 05:41 PM > Forums > Linux Forums > Linux - Distributions > Slackware

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