Thanks, make install works after running configure with tls, but I
can't seem to get pacemaker running (after running make clean and make
install again):
# pacemakerd -h
pacemakerd: symbol lookup error: pacemakerd: undefined symbol:
pcmk__process_request
# crm_mon
crm_mon: symbol lookup error: crm_mon: undefined symbol:
pcmk__xe_foreach_child
I'm clueless, tbh. I removed all pacemaker packages from that host
before running clean and install. If you have another hint for me, I'd
be greatful!
Zitat von Chris Lumens <clum...@redhat.com>:
cib_remote.c: In function ‘cib_tls_signon’:
cib_remote.c:393:22: error: ‘GNUTLS_E_SUCCESS’ undeclared (first
use in this function); did you mean ‘NETDB_SUCCESS’?
393 | int tls_rc = GNUTLS_E_SUCCESS;
| ^~~~~~~~~~~~~~~~
| NETDB_SUCCESS
cib_remote.c:393:22: note: each undeclared identifier is reported
only once for each function it appears in
cib_remote.c:393:13: error: unused variable ‘tls_rc’
[-Werror=unused-variable]
393 | int tls_rc = GNUTLS_E_SUCCESS;
| ^~~~~~
cc1: all warnings being treated as errors
make[3]: *** [Makefile:710: libcib_la-cib_remote.lo] Error 1
make[3]: Leaving directory '/opt/pacemaker-Pacemaker-2.1.10-rc1/lib/cib'
make[2]: *** [Makefile:627: all-recursive] Error 1
make[2]: Leaving directory '/opt/pacemaker-Pacemaker-2.1.10-rc1/lib'
make[1]: *** [Makefile:1151: core] Error 1
make[1]: Leaving directory '/opt/pacemaker-Pacemaker-2.1.10-rc1'
make: *** [GNUmakefile:30: build] Error 2
Ah, that's an actual bug - we're not surrounding that line with a check
for if gnutls is present and enabled. I'll get a patch sent off for
that.
You should probably be building with --with-gnutls (and make sure it's
installed), unless you have a good reason not to.
- Chris
_______________________________________________
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users
ClusterLabs home: https://www.clusterlabs.org/
_______________________________________________
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users
ClusterLabs home: https://www.clusterlabs.org/