Conversation
|
Hi On a CentOS 7 system, I noticed that several Zimbra components, including openldap (slap* and ldap* tools) and postfix, link to both the Zimbra-provided openssl 3.0.9 libraries AND the OS's openssl 1.0.2 libraries at the same time: This can be traced down to libcurl, as indeed curl links to the OS-provided libssh2 on one hand –which in turn links to the OS-provided openssl– and to the Zimbra-provided openssl on the other hand, as evinced by curl's config.log: This is not due to this particular OpenSSL 3.0.9 upgrade, it was like this before as well. I'm not sure this is actually a problem, but it may be worth looking into. The libcurl dependency is brought in via cyrus-sasl, and thus further leaks its link dependencies into openldap and postfix binaries. I'm not sure whether the libcurl dependency is actually needed for cyrus-sasl? (or whether libcurl actually needs the libssh2 dependency?) |
@ghen2 I think libcurl-devel, libssh2-devel are required for cyrus-sasl. without libcurl-devel: gcc -DHAVE_CONFIG_H -DSASLAUTHD_CONF_FILE_DEFAULT="/opt/zimbra/conf/saslauthd.conf" -I. -I. -I.. -I. -I.. -I../include -I../include -I../common -I../common -DOBSOLETE_CRAM_ATTR=1 -I/opt/zimbra/common/include -DOBSOLETE_DIGEST_ATTR=1 -I/opt/zimbra/common/include -I/opt/zimbra/common/include/libxml2 -Wall -W -O2 -g -D_REENTRANT -MT zmpost.o -MD -MP -MF $depbase.Tpo -c -o zmpost.o zmpost.c &&\ mv -f $depbase.Tpo $depbase.Po zmpost.c:1:23: fatal error: curl/curl.h: No such file or directory #include <curl/curl.h> compilation terminated. without libssh2-devel: /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -W -O2 -g -D_REENTRANT -version-info 3:0:0 -no-undefined -L/opt/zimbra/common/lib -Wl,-rpath,/opt/zimbra/common/lib -L/opt/zimbra/common/lib -Wl,-rpath,/opt/zimbra/common/lib -Wl,-rpath,/opt/zimbra/common/lib -L/opt/zimbra/common/lib -o libsasl2.la -rpath /opt/zimbra/common/lib auxprop.lo canonusr.lo checkpw.lo client.lo common.lo config.lo external.lo md5.lo saslutil.lo server.lo seterror.lo dlopen.lo -ldl ../common/libplugin_common.la -lresolv -lcurl -L/opt/zimbra/common/lib -lxml2 -lz -lm -ldl |
No description provided.