ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ltib] Ltibutils.pm: test for zlib installation


From: Sale, Devin M
Subject: [Ltib] Ltibutils.pm: test for zlib installation
Date: Wed, 19 Jun 2013 19:53:58 +0000

Hello,

In Ltibutils.pm there's a routine to check for the existence of libz.so* in a 
list of paths:

    zlib         => sub { my @f = (glob('/usr/lib/libz.so*'),
                                   glob('/lib/libz.so*'),
                                   glob('/lib64/libz.so*'),
                                   glob('/usr/lib/i386-linux-gnu/libz.so*'),
                                   glob('/usr/lib32/libz.so*'),
                                   glob('/usr/lib/x86_64-linux-gnu/libz.so*') 
); @f > 1 ? 1 : 0 },

Shouldn't the check be
                                   glob('/usr/lib/x86_64-linux-gnu/libz.so*') 
); @f > 0 ? 1 : 0 },

Since only one instance of libz is required.

Devin
****************************************************************************************
 Note: If the reader of this message is not the intended recipient, or an 
employee or agent responsible for delivering this message to the intended 
recipient, you are hereby notified that any dissemination, distribution or 
copying of this communication is strictly prohibited. If you have received this 
communication in error, please notify us immediately by replying to the message 
and deleting it from your computer. Thank you. 
****************************************************************************************




reply via email to

[Prev in Thread] Current Thread [Next in Thread]