LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-12-2004, 03:39 PM   #16
MattG1981
Member
 
Registered: Oct 2003
Posts: 32

Original Poster
Rep: Reputation: 15

Hey darkHelmet .. I have another problem ... can you help me with this one ... it has to do with installing gtk ...it says I need alot of dependencies .. so I downloaded them and installed them, but caught a snag along the way .... when I ./configure pango (one of the required files for gtk) .. I get this error:

checking for GLIB - version >= 2.4.0...
*** 'pkg-config --modversion glib-2.0' returned 2.4.2, but GLIB (2.2.3)
*** 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.4.0 or better is required. The latest version of
*** Glib is always available from ftp://ftp.gtk.org/.


I installed glib .. and it recognizes that I did .. but it tells me to delete glib2.2.3 ... how do I do that, or how do I modify my LD_LIBRARY_PATH (I cant even find that)?

Last edited by MattG1981; 06-12-2004 at 03:41 PM.
 
Old 06-12-2004, 03:45 PM   #17
MattG1981
Member
 
Registered: Oct 2003
Posts: 32

Original Poster
Rep: Reputation: 15
nevermind .. I typed in ldconfig and that fixed the problem ...

do you know what ldconfig is?
 
Old 06-12-2004, 11:25 PM   #18
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
ldconfig is a utility that updates your ld.so.cache file (I think that's its name). Anyway, all that means is the cache file lists the available libraries in the system. The way the cache is created is by looking at the directories listed in your ld.so.conf file (usually located in /etc). ldconfig is that actual utility that will read ld.so.conf, and then rebuild the contents of ld.so.cache. Whenever adding a library, you typically have to rerun ldconfig to adjust for the new library.

ld.so.conf is just a simple text file. It's a sequence of directory paths that contain libraries on your system. It's pretty straightforward... if a bit cryptic naming-wise.
 
  


Reply


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
Splint parse error problem when used pthread rajsun Programming 4 10-07-2010 02:27 AM
Dual-boot WinXP / Suse 9, keeps crashing after installing Suse MagNiTek Linux - General 2 07-08-2005 01:39 PM
SuSE: Dlink Access Point: How to let SuSE 9.1 box fetch the webpages for wlan request hansschmucker Linux - Wireless Networking 3 01-06-2005 01:02 PM
SUSE Security Announcement - Linux Kernel (SuSE-SA:2004:009) ima Linux - Security 0 04-19-2004 09:35 AM
Splint: Setting Environment Variables DavidMD Linux - Newbie 3 05-27-2003 02:15 PM


All times are GMT -5. The time now is 10:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration