LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-25-2005, 01:31 PM   #1
lp449
Member
 
Registered: Oct 2004
Location: Olsztyn, Poland
Distribution: Debian Squeeze / CentOS 6
Posts: 60

Rep: Reputation: 15
Libs upgrade


Hello,

My question is short and I guess simple for more advanced users.

Should I delete older version of library after upgrading it to the newer version? I have upgraded glibc and gtk+ and deleted older versions, after rebooting my box some of the applications didn't want to start ... so I am little confused now ... Can you help me?
 
Old 01-25-2005, 01:39 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Probably not, unless your sure nothing is compiled against the old libraries.
 
Old 01-25-2005, 03:58 PM   #3
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
for the most part, if I upgrade something like glib, gtk, atk, etc.. I like to place it back in /usr.

For glibc, ya gotta read the docs. the normal procedure for installing glibc is to overwrite the old one, not
install the new one and delete the old one ( the both use the same files, so when you removepkg, it's gonna pull some of your new files out you just installed)

between your two post here, it might be better to upgrade to 10.0 or 10.1 otherwise your gonna be compiling for awhile to bring slack 9.1 up to date.
just my $.02
 
Old 01-27-2005, 05:42 AM   #4
lp449
Member
 
Registered: Oct 2004
Location: Olsztyn, Poland
Distribution: Debian Squeeze / CentOS 6
Posts: 60

Original Poster
Rep: Reputation: 15
How do I know which library should be prefixed to /usr or some other directory?
 
Old 01-27-2005, 05:51 AM   #5
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
Well, I'll tell you how I do it, but this is mostly personal preference. when I compile a new lib/application, I look in /var/log/packages to see if it is already installed on my system. If it is there, then I replace it, If its not, then I (generally but not always) install to /usr/local. It really doesn't matter in the long run all that much, just try to keep things together ( like gtk, glib, atk, pango. etc... all in the same prefix, kdelibs and apps in the same prefix, etc...). As for glibc and gcc, I don't replace them unless I am forced to. They are not that hard to do, but sometimes you can run into more problems than what the upgrade is worth.
 
  


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
Why does new software force me to upgrade my version of Linux to get new libs? KWTm Linux - Software 1 07-09-2005 08:21 AM
I Need some libs !!! ... I don't know what i'm doing !!! ISI Linux - Software 9 07-21-2004 07:09 PM
qt libs komar Linux - Newbie 4 11-21-2003 07:24 AM
which libs? Tom9K Linux - Software 2 05-22-2002 02:06 PM
old c libs rlpt Programming 1 02-19-2002 09:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:18 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
Open Source Consulting | Domain Registration