Build 9.0.3 on Centos 7



  • Cannot build 9.0.3 release on Centos 7.
    Build fail with:

    libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I./common -DLINUX -I./common/include -I../common/include -I../m4lcommon/include -I../mapi4linux/include -I../provider/common/include -I../provider/libserver/include -I../ECtools/archiver/include -I../inetmapi/include -I../swig/include -I../swig/python/include -I.. -DNDEBUG -DUNICODE -DUSE_EPOLL -DLDAP_THREAD_SAFE -DMAPICONFIGDIR=\"/usr/lib/mapi.d:/etc/mapi.d\" -DPKGLIBDIR=\"/usr/lib64/kopano\" "-DSOAP_CMAC=__attribute__((visibility(\"default\")))" -DSOAP_FMAC3=SOAP_CMAC -DSOAP_FMAC5=SOAP_CMAC -DSOAP_NMAC=SOAP_CMAC -Iprovider/soap -I../common -I../libfreebusy -I../m4lcommon -I../mapi4linux/include -I../provider/client -I../provider/common -I../provider/include -I../provider/libserver -I../provider/plugins -I../libfreebusy -I../libicalmapi -I../ECtools/archiver -DWITH_IPV6 -DWITH_OPENSSL -DWITH_GZIP -DWITH_DOM -DLDAP_DEPRECATED=1 -I/usr/include/mysql -I/usr/include/tidy -I/usr/include/vmime/ -I/usr/include/libxml2 -Wall -Wmissing-declarations -Wredundant-decls -std=c++17 -Wno-variadic-macros -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -Wno-sign-compare -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c ../common/ECConfigImpl.cpp  -fPIC -DPIC -o common/.libs/ECConfigImpl.o
    ../common/ECChannel.cpp: In static member function 'static HRESULT KC::ECChannel::HrSetCtx(KC::ECConfig*)':
    ../common/ECChannel.cpp:114:3: error: 'ENGINE_load_builtin_engines' was not declared in this scope
       ENGINE_load_builtin_engines();
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../common/ECChannel.cpp:117:3: error: 'OPENSSL_load_builtin_modules' was not declared in this scope
       OPENSSL_load_builtin_modules();
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    

    openssl from base centos repository: 1.0.2k-19.el7.


Log in to reply