[TriLUG] SOLVED: Re: Vexing Command Line problem

Mauricio Tavares via TriLUG trilug at trilug.org
Wed Aug 1 10:06:47 EDT 2018


On Wed, Aug 1, 2018 at 9:43 AM, Paul Boyle via TriLUG <trilug at trilug.org> wrote:
> 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
>

      Nice

Now, put a more detailed entry in your blog so others can benefit of it.


> 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
>
> --
> This message was sent to: raubvogel at gmail.com <raubvogel at gmail.com>
> To unsubscribe, send a blank message to trilug-leave at trilug.org from that address.
> TriLUG mailing list : https://www.trilug.org/mailman/listinfo/trilug
> Unsubscribe or edit options on the web  : https://www.trilug.org/mailman/options/trilug/raubvogel%40gmail.com
> Welcome to TriLUG: https://trilug.org/welcome


More information about the TriLUG mailing list