[TriLUG] SOLVED: Re: Vexing Command Line problem
Paul Boyle via TriLUG
trilug at trilug.org
Wed Aug 1 09:43:35 EDT 2018
First -- thanks for the all the suggestions. I got the software
back running.
Here is a summary of what I did. It's probably pretty basic stuff for
most of you on this list, but I have always enjoyed using Linux command
line tools to do what I need to get done.
After installing the ELF loader, the program ran, but failed due to
missing libraries. To reconstitute my system I did the following to
install the proper 32bit packages:
1) Got list of dependencies from the vendor's rpms
(Using tcsh) on the user account where the vendor's rpms are stored:
foreach rpm ( *.rpm )
foreach? echo "Generating dependencies for $rpm ..."
foreach? yum deplist $rpm | grep provider | grep 'i.86' | awk '{print
$2}' >> packages.dep foreach? end
(sorry for the line wrapping)
2) sort and pick out the unique dependencies:
sort packages.dep | uniq > tmp.dep && mv tmp.dep packages.dep
3) On the computer which was having the problem:
yum install -y `cat packages.dep`
I tried 'yum install -y < packages.dep' but it didn't like that.
After doing this the vendor's software works normally now.
Again, thanks for everyone's help.
Paul
On Tue, 31 Jul 2018 16:06:13 -0400
Paul Boyle via TriLUG <trilug at trilug.org> wrote:
> On Tue, 31 Jul 2018 15:42:51 -0400
> Aaron Schrab <aaron at schrab.com> wrote:
>
> >
> > Try to verify that the interpreter shown there (in the above case
> > that's /lib64/ld-linux-x86-64.so.2) exists. You should even be able
> > to run that directly and get a usage message.
>
> The vendor's software is 32bit, and I am running x86_64 hardware. As
> I mentioned in a previous email, it seems like a lot of the 32bit
> libraries got wiped out (and the ELF loader as well).
>
> I just used yum to install the
> glibc-2.17-222.el7.i686.rpm package which contains the ELF loader.
> Now when I run, programs in /usr/local/bn/bin, e.g.
>
> bruker:/~% /usr/local/bn/bin/python2.7
> Python 2.7.7 (default, Mar 23 2017, 19:08:45)
> [GCC 4.4.5 20101112 (Red Hat 4.4.5-2)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>>
>
> the program runs!
>
> Paul
>
>
--
Paul D. Boyle, Ph. D.
Manager, X-ray Facility
Department of Chemistry
Western University
London, ON N6A 5B7
Canada
GPG Fingerprint: 8ECE 516D 9046 FE83 4A46 7E8E D720 555D 8CC3 EC6B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://www.trilug.org/pipermail/trilug/attachments/20180801/707d2a7d/attachment.pgp>
More information about the TriLUG
mailing list