[exim] Exim 4.96 on Devuan 4.0 build problem with PCRE2

Página Inicial
Delete this message
Reply to this message
Autor: Mike Tubby
Data:  
Para: Andrew C Aitchison via Exim-users
Assunto: [exim] Exim 4.96 on Devuan 4.0 build problem with PCRE2
All,

Not quite sure what's going on with Exim 4.96 ... have been running
previous versions up-to and including 4.94.2 on Devuan 4.0 (Like Debian
11 with without Poettering's systemd rubbish).

I come to migrate to Exim 4.96 which is usually:

* download the latest version
* unpack it next to the previous version
* copy over Local/Makefile

and type 'make' and sit back and watch a perfect compile ...

Now I get this:

cc lookups/lf_quote.c
cc lookups/lf_check_file.c
cc lookups/lf_sqlperform.c
cc local_scan.c
cc -o exim
/usr/bin/ld: exim.o: in function `show_whats_supported':
exim.c:(.text+0x95b): undefined reference to `pcre2_config_8'
/usr/bin/ld: exim.o: in function `regex_must_compile':
exim.c:(.text+0xf96): undefined reference to `pcre2_compile_8'
/usr/bin/ld: exim.c:(.text+0xfcd): undefined reference to
`pcre2_general_context_create_8'
/usr/bin/ld: exim.c:(.text+0xfd8): undefined reference to
`pcre2_compile_context_create_8'
/usr/bin/ld: exim.c:(.text+0xfff): undefined reference to `pcre2_compile_8'
/usr/bin/ld: exim.c:(.text+0x100f): undefined reference to
`pcre2_compile_context_free_8'
/usr/bin/ld: exim.c:(.text+0x1017): undefined reference to
`pcre2_general_context_free_8'
/usr/bin/ld: exim.c:(.text+0x1030): undefined reference to
`pcre2_get_error_message_8'
/usr/bin/ld: exim.c:(.text+0x1072): undefined reference to
`pcre2_get_error_message_8'
/usr/bin/ld: exim.o: in function `regex_match_and_setup':
exim.c:(.text+0x10c8): undefined reference to
`pcre2_match_data_create_from_pattern_8'
/usr/bin/ld: exim.c:(.text+0x10f2): undefined reference to `pcre2_match_8'
/usr/bin/ld: exim.c:(.text+0x1132): undefined reference to
`pcre2_get_error_message_8'
/usr/bin/ld: exim.c:(.text+0x1153): undefined reference to
`pcre2_get_ovector_count_8'
/usr/bin/ld: exim.c:(.text+0x11a2): undefined reference to
`pcre2_substring_get_bynumber_8'
/usr/bin/ld: exim.c:(.text+0x11d4): undefined reference to
`pcre2_match_data_free_8'
/usr/bin/ld: exim.o: in function `regex_match':
exim.c:(.text+0x120f): undefined reference to `pcre2_match_data_create_8'
/usr/bin/ld: exim.c:(.text+0x1246): undefined reference to `pcre2_match_8'
/usr/bin/ld: exim.c:(.text+0x1251): undefined reference to
`pcre2_get_ovector_pointer_8'
/usr/bin/ld: exim.o: in function `main':
exim.c:(.text+0x1d19): undefined reference to
`pcre2_general_context_create_8'

[ ... snip ... ]


The thing is that I have pcre3-dev and the rest of the PCRE2 libraries
installed (mine you someone will will have to explain why version
numbers are going backwards) ... ;-)

In the meantime, what am I missing w.r.t. compiling this?


Mike