updating glib
Story so far,
I had unziped (prob I should say untared) the downloaded files in /usr/src/glib-2.2.3/ I had then installed glib from there. ./configure make make check (all 29 test pass here) make install -------------------------------- Libraries have been installed in: /usr/local/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------- /usr/local/lib previously added in ld.so.conf did "ldconfig" again "./configure" for atk --------------------- *** 'pkg-config --modversion glib-2.0' returned 2.2.3, but GLIB (2.2.1) *** 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/. -------------------------- In our case the pkg-config is correct. How do I remove the old glib and get the new one linked to all the programs ? Please help. Thanks in advance. |
sounds a lot like you are running an rpm based distro and installing from source for no particular reason. if you do wish to sue source, use the rpm command to remove older versions first.
|
I tried to remove rpm but it has a lot of dependencies.
|
well upgrade the rpm instead of trying to compile the source....
|
thanx
|
All times are GMT -5. The time now is 12:55 AM. |