[exim-dev] [Bug 2898] New: exim -bem <file> behaves odd if …

Inizio della pagina
Delete this message
Reply to this message
Autore: admin
Data:  
To: exim-dev
Oggetto: [exim-dev] [Bug 2898] New: exim -bem <file> behaves odd if libreadline.so is missing and USE_READLINE=yes was used to build
https://bugs.exim.org/show_bug.cgi?id=2898

            Bug ID: 2898
           Summary: exim -bem <file> behaves odd if libreadline.so is
                    missing and USE_READLINE=yes was used to build
           Product: Exim
           Version: 4.96
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: General execution
          Assignee: unallocated@???
          Reporter: wbreyha@???
                CC: exim-dev@???


I build my Exims with USE_READLINE=yes, but I failed to add a requirement in my
RPM Spec file. So far my fault. But libreadline.so is not needed to build Exim
to use it.

I installed the Exim RPM as usual on my el8 hosts and I wanted to use "exim
-bem <file>". To my surprise Exim complained about a lot, but not the missing
libreadline.so.

Parts of the messagebody after the header were output and stuff like
> LOG: PANIC

Exim configuration error in line 822 of /etc/mail/exim.cf:
malformed macro definition

With +d I recognized the
failed to load readline: libreadline.so: cannot open shared object file: No
such file or directory
after the header section.

Installing it fixes everything. No odd output and -bem works as expected.

Maybe Exim should exit with the "failed to load" message without +d instead of
failing badly and spilling misleading messages afterwards.

Will try to provide a patch or add a comment if I fail.

--
You are receiving this mail because:
You are on the CC list for the bug.