Hi there,
what do you think of this fragment ?
to me, it looks sort of large, but I wanted to cover all cases..
i'm going to optimize it a little bit.
$v_libc5 = '';
$v_libc6 = '';
# first, find the path of the concerning lib with the highest version
if ( exists_prog("ldconfig"
On 7 Jan 2001, Ulrich Drepper wrote:
> have libc5 out of the way in a separate subdir. Your best bet is to
> use ldconfig:
>
> /sbin/ldconfig -p|grep libc.so.5
>
Hmm, ok. Well, I was reading the Changes document when doing this first
and did not use my head. This document advises to deduct th
Matthias Juchem <[EMAIL PROTECTED]> writes:
> # c library 5
> -if ( -e "/lib/libc.so.5" ) {
> - ( $v_libc5 = `/lib/libc.so.5`) =~ m/GNU C Library .+ version (\S+),/;
> - $v_libc5 = $1;
> -} else {
> - $v_libc5 = "not found";
> +opendir LIBDIR, "/lib" or die "/lib/ not
3 matches
Mail list logo