ltib
[Top][All Lists]
Advanced

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

Re: [Ltib] Ltibutils.pm: test for zlib installation


From: Stuart Hughes
Subject: Re: [Ltib] Ltibutils.pm: test for zlib installation
Date: Thu, 20 Jun 2013 20:29:25 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130510 Thunderbird/17.0.6

Hi Devin,

The idea is to check all the possible locations, not just
'/usr/lib/x86_64-linux-gnu/libz.so*' because the location varies from
distribution to distribution.

Regards, Stuart

On 19/06/13 20:53, Sale, Devin M wrote:
> 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. 
> ****************************************************************************************
> 
> 
> _______________________________________________
> LTIB home page: http://ltib.org
> 
> Ltib mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/ltib
> 



reply via email to

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