4.99 makefile has an error: was: WARNING: exim 4.99 Fedora current build disfunctional

Cyborg via Exim-users <[email protected]> Mon, 17 Nov 2025 15:13:12 +0100
Newsgroups gmane.mail.exim.user
Message-ID <[email protected]>
Am 14.11.25 um 12:02 schrieb Cyborg via Exim-users:
> Hi,
>
> If someone runs Fedora 42+ and already has that rpm installed, here is 
> a quick WORKAROUND*:
>
> cd /usr/lib64/exim/4.99-1.fc42/lookups
> ln -s mysql.so mysql_lookup.so

Jaroslav from Fedora found the cause for it:

OLD:

       sprintf(CS big_buffer, "%s/%s", LOOKUP_MODULE_DIR, name);

       if (!(dl = dlopen(CS big_buffer, RTLD_NOW)))

NEW (4.99):

const uschar * path = string_sprintf(
   LOOKUP_MODULE_DIR "/%s_%s." DYNLIB_FN_EXT, name, class);


BUT - still the old name referenced:

src/drtables.c

But they forgot to change the lookup Makefile that still has:
mysql.o mysql.so:       $(HDRS) mysql.c


Should that have raised an error on the testfarm???

best regards,
Cyborg

-- 
## subscription configuration (requires account):
##   https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
##   [email protected]
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/