File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Linux / UNIX and the fly likes glib woes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "glib woes" Watch "glib woes" New topic
Author

glib woes

Jason Kretzer
Ranch Hand

Joined: May 31, 2001
Posts: 280
I am trying to install Gnome 2.4 from source. So far I have installed glib
and pkgconfig. The glib is 2.2.3. For the next step I am trying to install
atk. when I run the configure of atk I get the following error
checking for GLIB - version >= 2.0.0...
*** 'pkg-config --modversion glib-2.0' returned 2.2.3, but GLIB (2.2.2)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error:
*** GLIB 2.0.0 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/. If GLIB is installed
*** but not in the same location as pkg-config add the location of the file
*** glib-2.0.pc to the environment variable PKG_CONFIG_PATH.

I had thought when you install something it overwrites the old version...
pkgconfig is finding the right version but the configure for atk is not.
Anyone have any ideas here?


Jason R. Kretzer<br />Software Engineer<br />System Administrator<br /><a href="http://alia.iwarp.com" target="_blank" rel="nofollow">http://alia.iwarp.com</a>
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15959
    
  19

You're in the Linux equivalent of "DLL Hell". There's a version conflict between your static libraries and your system's dynamic libraries.
Check the man packes on "ldconfig" for starters.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: glib woes
 
Similar Threads
Problem occur while installing Groovy IDE in Ecllipse
How to install without a makefile (GTK)? Help!
Running MIDlets on Palm V emulator
VM version?
Unable to figure out which JRE Lib is being used by Ant.