OpenSIPS / opensips

OpenSIPS is a GPL implementation of a multi-functionality SIP Server that targets to deliver a high-level technical solution (performance, security and quality) to be used in professional SIP server platforms.
https://opensips.org
Other
1.27k stars 578 forks source link

[BUG]i build openips 3.4.8 with openssl 3.0.12, but run failed while load db_mysql, /db_mysql.so: undefined symbol: FIPS_mode_set #3493

Open bbslucky opened 5 days ago

bbslucky commented 5 days ago

version: opensips 3.4.8 (x86_64/linux) flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535 poll method support: poll, epoll, sigio_rt, select. git revision: 78cdea979 main.c compiled on 23:21:38 Oct 10 2024 with gcc 12

when i use db_mysql,

Oct 11 12:33:35 localhost opensips[15822]: ERROR:core:sr_load_module: could not open module </usr/local/opensips//lib64/opensips/modules/db_mysql.so>: /usr/local/opensips//lib64/opensips/modules/db_mysql.so: undefined symbol: FIPS_mode_set Oct 11 12:33:35 localhost opensips[15822]: ERROR:core:load_module: failed to load module Oct 11 12:33:35 localhost opensips[15822]: CRITICAL:Traceback (last included file at the bottom): Oct 11 12:33:35 localhost opensips[15822]: CRITICAL: 0. /usr/local/opensips/etc/opensips/opensips.cfg Oct 11 12:33:35 localhost opensips[15822]: CRITICAL:core:yyerror: parse error in /usr/local/opensips/etc/opensips/opensips.cfg:65:13-14: failed to load module db_mysql.so Oct 11 12:33:35 localhost opensips[15822]: CRITICAL:modparam("rr", "append_fromtag", 0) Oct 11 12:33:35 localhost opensips[15822]: CRITICAL: Oct 11 12:33:35 localhost opensips[15822]: CRITICAL:loadmodule "db_mysql.so" Oct 11 12:33:35 localhost opensips[15822]: CRITICAL:^~ Oct 11 12:33:35 localhost opensips[15822]: CRITICAL: Oct 11 12:33:35 localhost opensips[15822]: CRITICAL:#### MAX ForWarD module Oct 11 12:33:35 localhost opensips[15822]: ERROR:core:parse_opensips_cfg: bad config file (1 errors) Oct 11 12:33:35 localhost opensips[15822]: ERROR:core:main: failed to parse config file /usr/local/opensips/etc/opensips/opensips.cfg Oct 11 12:33:35 localhost opensips[15822]: NOTICE:core:main: Exiting....

in build host ,use openssl 3.0.12 gcc version 12.3.1

i find all libcrypto.so.1. no so,where use FIPS_mode_set function

bbslucky commented 5 days ago

i also use sudo find / -name "*.so" | xargs ldd to check all .so file ,not find libcrypto.so.1. ,only /usr/lib64/libcrypto.so.3........