[Rspamd-Users] rspamd 3.8.4 error on build

Gerald Galster list+rspamd at gcore.biz
Fri Mar 22 14:49:25 UTC 2024


> When building rspamd 3.8.4 from the sources I run into the following error.
> [ 90%] Linking CXX executable rspamd librspamd-server.so: error:
> undefined reference to 'sframe_encoder_write' librspamd-server.so:

This is probably related to binutils.

Which distribution are you using?

For RHEL9 there are extra packages installed when building the rpm:

gcc-toolset-12-runtime-12.0-6.el9.x86_64
gcc-toolset-12-gcc-12.2.1-7.4.el9.x86_64
gcc-toolset-12-libstdc++-devel-12.2.1-7.4.el9.x86_64
gcc-toolset-12-gcc-c++-12.2.1-7.4.el9.x86_64
gcc-toolset-12-annobin-docs-11.08-2.el9.noarch
gcc-toolset-12-annobin-plugin-gcc-11.08-2.el9.x86_64
gcc-toolset-12-binutils-gold-2.38-19.el9.x86_64
gcc-toolset-12-binutils-2.38-19.el9.x86_64

vs the standard binutils-devel-2.35.2-42.el9.x86_64

In that case you'd have to change the environment to use newer versions.
# source /opt/rh/gcc-toolset-12/enable
# see %build section of rspamd.spec file

Best regards,
Gerald


More information about the Users mailing list