I have tried to build a module on `CentOS 8 Stream`
and got an error
```
error: Bad exit status from /var/tmp/rpm-tmp.y2gQNv (%build)
Bad exit status from /var/tmp/rpm-tmp.y2gQNv (%build)
```
I used wolfssl 5.6.3. Should I update to wolfssl 5.6.4?
I just tried master 26ba1d9f42 with the submodule set to v5.6.3-stable -
```
fssl/openssl'
libtool: finish:
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/bin:/sbin"
ldconfig -n
/builddir/build/kamailio/src/modules/tls_wolfssl/../../../misc/external/wolfssl/build/lib
----------------------------------------------------------------------
Libraries have been installed in:
/builddir/build/kamailio/src/modules/tls_wolfssl/../../../misc/external/wolfssl/build/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- have your system administrator add LIBDIR to '/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
CC (gcc) [M tls_wolfssl.so] tls_util.o
CC (gcc) [M tls_wolfssl.so] tls_domain.o
CC (gcc) [M tls_wolfssl.so] tls_rand.o
CC (gcc) [M tls_wolfssl.so] tls_map.o
CC (gcc) [M tls_wolfssl.so] tls_cfg.o
CC (gcc) [M tls_wolfssl.so] tls_select.o
CC (gcc) [M tls_wolfssl.so] tls_dump_vf.o
CC (gcc) [M tls_wolfssl.so] tls_init.o
CC (gcc) [M tls_wolfssl.so] tls_bio.o
CC (gcc) [M tls_wolfssl.so] tls_config.o
CC (gcc) [M tls_wolfssl.so] tls_server.o
CC (gcc) [M tls_wolfssl.so] tls_rpc.o
CC (gcc) [M tls_wolfssl.so] tls_ct_wrq.o
CC (gcc) [M tls_wolfssl.so] tls_wolfssl_mod.o
CC (gcc) [M tls_wolfssl.so] tls_verify.o
LD (gcc) [M tls_wolfssl.so] tls_wolfssl.so
make: Leaving directory '/builddir/build/kamailio/src'
[root@cf659342ea4c kamailio]#
```
Are you building from an external wolfssl package? If so can you compare your package
build flags with
https://download.copr.fedorainfracloud.org/results/beaveryoga/wolfSSL/epel-…
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3592#issuecomment-1820615450
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3592/c1820615450(a)github.com>