/usr/bin/spamc in spamassassin-3.4.1-18.fc28.x86_64 has not been linked with the standard Fedora linker flags (LDFLAGS) from redhat-rpm-config: gcc -DSPAMC_SSL -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -mcet -fcf-protection spamc/spamc.c spamc/getopt.c spamc/libspamc.c spamc/utils.c \ -o spamc/spamc -lssl -lcrypto -ldl -lz CFLAGS are there (but unnecessary), but LDFLAGS are missing. See https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/master/f/buildflags.md for information on RPM macros and environment variables provided by the build environment.
It seems it has been already fixed, but the bug wasn't closed, i.e.: * Tue Apr 10 2018 Rafael Santos <rdossant> - 3.4.1-19 - Use standard Fedora linker flags (bug #1548561) And: $ gcc -DSPAMC_SSL -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -mcet -fcf-protection spamc/spamc.c spamc/getopt.c spamc/libspamc.c spamc/utils.c \ -o spamc/spamc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector-strong -L/usr/local/lib -lssl -lcrypto -ldl -lz So closing, feel free to reopen if the problem persists.
Please release this as an update via Fedora 28, too.
(In reply to Florian Weimer from comment #2) > Please release this as an update via Fedora 28, too. OK, I will do it.
spamassassin-3.4.1-19.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-1c47e16a16
spamassassin-3.4.1-19.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-1c47e16a16
spamassassin-3.4.1-19.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.