[Top][All Lists]

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

Re: Support for musl

From: Ben Elliston
Subject: Re: Support for musl
Date: Thu, 25 Jan 2018 19:29:07 +1100
User-agent: NeoMutt/20170609 (1.8.3)

On Thu, Jan 25, 2018 at 05:35:10PM +1300, Henri wrote:

> > Another option to determine the libc version would be to parse the
> > output of "ldd --version".

It's fine to assume the presence of ldd(1) since you know you are on a
Linux system. Within each case in the big case statement, you don't
need to rely on univerally available shell utilities.

How about just running ldd --version | grep -q ^musl ?

If that pipeline returns 0, you have your answer.


Attachment: signature.asc
Description: PGP signature

reply via email to

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