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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-22-2005, 08:47 AM
|
#1
|
Member
Registered: Oct 2005
Distribution: Ubuntu Edgy
Posts: 58
Rep:
|
Linking old libraries to new one?
Dear all,
It has happened to me lots of times that a piece of software demands for an older version of a library than the one I have installed. For example, xine asks for:
libMagick.so.6
libWand.so.6
I have both libraries, but on version 9:
libMagick.so.9
libWand.so.9
Is there any way to "force" the soft to use the new ones (I've tried creating links with the "ln" command inside of /usr/lib, but to no avail), or do I have to install the older versions?
Thanks!
|
|
|
10-22-2005, 11:03 AM
|
#2
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
If a program needs the older library, forcing it would be like trying to force feed a snake that only eats rodents fruit, it's not going to happen.
Your best option is to install the older dependencies for the best support.
|
|
|
10-22-2005, 02:04 PM
|
#3
|
Senior Member
Registered: Jun 2004
Posts: 2,553
Rep:
|
there may be rare instances where all the symbols needed by the older program are represented in the newer library in which case yes a tricky subversive link will work.
|
|
|
10-23-2005, 04:48 AM
|
#4
|
Member
Registered: Oct 2005
Distribution: Ubuntu Edgy
Posts: 58
Original Poster
Rep:
|
The problem is that usually the new library is needed by lots of other libs/application, so when I try to install the older rpm, well, I just get lots of errors.
Is there any way to work around this problem? (besides uninstalling everything).
|
|
|
10-23-2005, 07:16 AM
|
#5
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Quote:
Originally posted by winterhunter
The problem is that usually the new library is needed by lots of other libs/application, so when I try to install the older rpm, well, I just get lots of errors.
Is there any way to work around this problem? (besides uninstalling everything).
|
How are you installing? RPM, Debian, From Source... ??
|
|
|
10-23-2005, 08:45 AM
|
#6
|
Member
Registered: Oct 2005
Distribution: Ubuntu Edgy
Posts: 58
Original Poster
Rep:
|
I'm using rpm-packages to install.
|
|
|
10-23-2005, 09:22 AM
|
#7
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Quote:
Originally posted by winterhunter
I'm using rpm-packages to install.
|
Use the force and no deps option to install since it will complain about dependencies, etc.
rpm -ivh --nodeps --force <rpm-package-name>.rpm
|
|
|
10-24-2005, 04:37 AM
|
#8
|
Member
Registered: Oct 2005
Distribution: Ubuntu Edgy
Posts: 58
Original Poster
Rep:
|
Thanks a lot!
|
|
|
All times are GMT -5. The time now is 10:21 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|