SCIENTIFIC-LINUX-USERS Archives

November 2011

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Andreas Petzold <[log in to unmask]>
Reply To:
Andreas Petzold <[log in to unmask]>
Date:
Tue, 8 Nov 2011 19:55:10 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (44 lines)
On Tuesday, November 08, 2011 19:38:46 Yasha Karant wrote:
> I attempted to install:
> 
> [Downloads]$ rpm -iv bakoma-tex-9.7.5-111102.i386.rpm
> error: Failed dependencies:

[snip] list of 32bit deps 

> 
> I put x86-64 SL 6 on a "fresh" harddrive.  However, I have a separate
> mounted harddrive that is not in the system search path (neither for
> executables/scripts nor for libraries) but that contains an IA-32 EL 5
> image, including all (most?) of the above missing files in what is the
> equivalent of /usr/lib .  If I cp -pr the files from the equivalent,
> that is, /oldusr/lib to /usr/lib, will the above RPM install, or must I
> either
> 
> (1) get current SL 6 IA-32 RPMs that contain the above .so files to
> resolve the dependencies.

yes, that's what you have to do.

> 
> (1.1)  if so, how does one one find which RPM provides the above (I have
> an output from, e.g.,
> http://rpm.pbone.net/index.php3/stat/3/srodzaj/1/search/libXinerama.so.1
> , but this seems to show SL 4 and no more current SL)?

Why don't you use yum? What do you usually use to resolve dependencies if you 
aren't using yum?

yum install <path tofile>/bakoma-tex-9.7.5-111102.i386.rpm

If any of the enabled repos contain packages that satisfy the dependencies, 
yum will find them and install them.

> 
> (2) try rpm -iv --force --nodeps and then cp -pr /oldusr/lib/foobar.so.M
> /usr/lib where foobar.so.M is one of the missing .so files, for the
> entire list of missing .so files, so that ldd will find the necessary
> .so files.

Sure way to screw up your system. 

ATOM RSS1 RSS2