Answer the question
In order to leave comments, you need to log in
Why doesn't configure find glib-networking?
CentOS 6.8 with many hand-built RPMs
libsoup configure does not find glib-networking when building, even though glib-networking is installed. When analyzing configure, it turns out that for some reason it measures the presence of glib-networking by the presence of the g_tls_backend_supports_tls function:
#include <gio/gio.h>
int
main ()
{
return !g_tls_backend_supports_tls (g_tls_backend_get_default ());
;
return 0;
}
gcc -o test -g -O2 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include \
-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_38 test.c -lgio-2.0 -lgobject-2.0 -lglib-2.0
Answer the question
In order to leave comments, you need to log in
I answer to myself - because the hands (grow from nowhere) . Along with /lib64/libgio.so.0, there was also /usr/local/lib/libgio.so.0. To everyone who wants to build programs in CentOS - do not try to do it completely manually, this is not slack for you. Master the assembly through rpmbuild - so there is less chance that you will run into such a ridiculous jamb.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question