Compile the externals
- DIRAC.Core.Utilities.Platform.libc_ver(executable='/home/docs/checkouts/readthedocs.org/user_builds/dirac/conda/latest/bin/python', lib='', version='', chunksize=2048)
Tries to determine the libc version that the file executable (which defaults to the Python interpreter) is linked against.
Returns a tuple of strings (lib,version) which default to the given parameters in case the lookup fails.
Note that the function has intimate knowledge of how different libc versions add symbols to the executable and thus is probably only useable for executables compiled using gcc.
The file is read and scanned in chunks of chunksize bytes.