Rebuilding exim /usr/local/lib/libpcre.so.1: error adding symbols: DSO missing from command line

Indominus

Verified User
Joined
Sep 1, 2021
Messages
22
cc -o exim
/bin/ld: malware.o: undefined reference to symbol 'pcre_free_substring'
/usr/local/lib/libpcre.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[1]: *** [exim] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.94.2/build-Linux-x86_64'
make: *** [all] Error 2



Does anyone have any useful insight as on how to fix this?

It is preventing customer from emailing:

2022-08-15 17:09:44 Exim configuration error in line 1022 of /etc/exim.conf:
option "message_linelength_limit" unknown


[root@ox82 custombuild]# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
 
Last edited:
DA drop support on version lower than 4.95 due it incomparitive with exim_conf.

Trying build 4.95 or 4.96 insteadly.
 
Ok fixed it,

For those who may encounter the same issue;
I had a custom exim entry within the /usr/local/directadmin/custombuild/custom_versions.txt file.
Removing the file and rebuilding now works.


Rookie mistake, shame. :<
 
Last edited:
Back
Top