iT邦幫忙

0

Centos5 安裝 tomcat 7 啟用 Native library 1.2.23 using APR version 失敗

  • 分享至 

  • xImage

請教邦友:

a/ os: CentOS release 5.9
b/ java version "1.8.0_212"
Java(TM) SE Runtime Environment (build 1.8.0_212-b10)
c/ tomcat apache-tomcat-7.0.96

目前已更新了:
apr-devel-1.4.5-umask.7
apr-1.4.5-umask.7
apr-util-1.4.1-1.el5

OpenSSL 1.0.2s 28 May 2019
built on: reproducible build, date unspecified
platform: linux-elf
options: bn(64,32) rc4(8x,mmx) des(ptr,risc1,16,long) idea(int) blowfish(idx)
compiler: gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -Wa,--noexecstack -DL_ENDIAN -O3 -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DRC4_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -DVPAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM
OPENSSLDIR: "/usr/local/openssl/ssl"

但我自行編譯 tomcat-native.tar.gz 後無錯誤;
將 ln -s /usr/local/apr/lib/libtcnative-1.so /usr/lib/libtcnative-1.so
之後啟動 tomcat log 會告知:

INFO: Loaded APR based Apache Tomcat Native library 1.2.23 using APR version 1.4.5.
Sep 03, 2019 4:36:16 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
/usr/java/jdk1.8.0_212-i586/bin/java: symbol lookup error: /usr/local/apr/lib/libtcnative-1.so.0.2.23:
undefined symbol: CRYPTO_THREADID_set_callback

請問要如何解決? 謝謝

圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友回答

立即登入回答