LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 12-01-2003, 06:03 PM   #1
jdruin
Member
 
Registered: Jul 2003
Location: Louisville aka Derby City
Distribution: WinXP SP2 and SP3, W2K Server, Ubuntu
Posts: 313

Rep: Reputation: 30
Question Need help installing libraries


When trying to install Anjuta, I have tried to install several other packages depending on GLIB. I downloaded and installed GLIB-2.2.3. When installing other software, each reports:

need glib verison 2.X.X or higher (where x varies)

I erased all other glib items before reinstalling. Same error occured. Many of the packages say they found glib-2.2.3 with something called pkg-config but found version 2.0.x. I found some articles on Google and ran 'ldconfig' but the only new links I found by running 'ldconfig -p | grep glib' indicate links to glib-2.0.x. How can I get the OS to have the correct paths to the correct files so I can install more libraries?
 
Old 12-01-2003, 06:07 PM   #2
jdruin
Member
 
Registered: Jul 2003
Location: Louisville aka Derby City
Distribution: WinXP SP2 and SP3, W2K Server, Ubuntu
Posts: 313

Original Poster
Rep: Reputation: 30
Here is more errors that basically say the same thing I got when installing a package called "PANGO". The version of GLIB installed is GLIB-2.2.3 but I do not know how to force 'ldconfig' to update the correct links or if this is even the right way to get the system configured correctly. Hope this helps:


checking for GLIB - version >= 2.1.3...
*** 'pkg-config --modversion glib-2.0' returned 2.2.3, but GLIB (2.0.6)
*** 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.1.3 or better is required. The latest version of
*** Glib is always available from ftp://ftp.gtk.org/.
 
Old 12-01-2003, 06:18 PM   #3
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
How did you install Glib?
 
Old 12-01-2003, 06:26 PM   #4
jdruin
Member
 
Registered: Jul 2003
Location: Louisville aka Derby City
Distribution: WinXP SP2 and SP3, W2K Server, Ubuntu
Posts: 313

Original Poster
Rep: Reputation: 30
BigNate:

I went to the download directory:

/mnt/netbios/windows/

where I have the .tar.gz files. It happens to be my SAMBA directory by coinsidence. I untarred the file and entered directory:

/mnt/netbios/windows/glib-2.2.3

I then did:

./configure
make
make install

I did not notice any problems.
 
Old 12-01-2003, 06:36 PM   #5
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
Sometimes there is difficulty when you install via tar.gz as oppoased to rpm. the data base that the new packages are looking toward is not updated with the newer version of the lib files b/c rpm did not do the install. There is a way to tell the db what you have done via source install but I have not done it. Check man rpm and that should give you a hint. I think it is a silmple command line argument like: rpm --tell the db -I installed GlibC

I would also recommend that you look here for your software needs:

apt.freshrpms.net

Apt will help you with your dep problems
 
Old 12-09-2003, 02:44 PM   #6
jdruin
Member
 
Registered: Jul 2003
Location: Louisville aka Derby City
Distribution: WinXP SP2 and SP3, W2K Server, Ubuntu
Posts: 313

Original Poster
Rep: Reputation: 30
OK. I did not realize APT could take care of dependencies. I will start using that for now on. Looks like Linux is getting as big as Windows as far as packages go neccesitating the need for something like apt to keep control of everything.
 
  


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
installing libraries cryo70 Linux - Software 5 10-05-2005 06:57 PM
installing libraries cryo70 Linux - Newbie 1 09-21-2005 12:00 PM
installing libraries cryo70 Linux - Software 1 09-21-2005 11:17 AM
Installing Libraries docGonzo2000 Slackware 1 02-03-2003 09:48 AM
Installing Libraries promet Linux - Newbie 2 05-26-2002 05:20 AM


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