mercredi 26 mai 2021

Why GLIB is detected Wrong?

When I install libnids-1.24 on linux and excute :

./configure

it turns out :

checking for GLIB... configure: error: Package requirements (glib-2.0 >= 2.2.0) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively you may set the GLIB_CFLAGS and GLIB_LIBS environment variables
to avoid the need to call pkg-config.  See the pkg-config man page for
more details.

Then I excute:

 /usr/lib/libc.so.6

and it returns:

GNU C Library (GNU libc) stable release version 2.17, by Roland McGrath et al.
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.8.5 20150623 (NeoKylin 4.8.5-16).
Compiled on a Linux 3.10.0 system on 2017-08-30.
Available extensions:
    The C stubs add-on version 2.1.2.
    crypt add-on version 2.1 by Michael Glad and others
    GNU Libidn by Simon Josefsson
    Native POSIX Threads Library by Ulrich Drepper et al
    BIND-8.2.3-T5B
    RT using linux kernel aio
libc ABIs: UNIQUE IFUNC
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.

It seems that the version is higher than 2.0. I don't know why the fault occurs? And How can I fix it? I'd appreciate it if you help me with this question.

Aucun commentaire:

Enregistrer un commentaire