Sagan v.1.2.2-1 failing to start during post-installation test.

32 views
Skip to first unread message

Haxx

unread,
Aug 15, 2021, 2:54:19 PM8/15/21
to sagan-users

Hi,

I have just installed sagan(1.2.2-1) on Arch Linux(5.10.56-1-lts) , no install errors to report, but as I am
going through the "Post-installation setup and testing" section from the Sagan User guide(readthedocs):

  • "To test, run sagan --debug syslog,engine as the root user. It will switch to the sagan user when ready, and
    remain running in the foreground.

    command: $ sudo sagan --debug syslog,engine
    output:sagan: error while loading shared libraries: libesmtp.so.6: cannot open shared object file: No such file or directory
    issue: sagan fails to start
    libesmtp version: community/libesmtp 1.1.0-1 [installed]

libesmtp Directories:
libesmtp /usr/include/auth-client.h
libesmtp /usr/include/libesmtp.h
libesmtp /usr/lib/
libesmtp /usr/lib/esmtp-plugins-6.2.0/
libesmtp /usr/lib/esmtp-plugins-6.2.0/sasl-crammd5.so
libesmtp /usr/lib/esmtp-plugins-6.2.0/sasl-login.so
libesmtp /usr/lib/esmtp-plugins-6.2.0/sasl-ntlm.so
libesmtp /usr/lib/esmtp-plugins-6.2.0/sasl-plain.so
libesmtp /usr/lib/libesmtp.so
libesmtp /usr/lib/libesmtp.so.6.2.0

At first sight it looks like sagan cannot find libesmtp.so.6 library.

Suggestions anyone?

Thanks,

Da Beave

unread,
Aug 17, 2021, 9:56:29 PM8/17/21
to sagan...@googlegroups.com
Sagan 1.2.2 is pretty old.   This appears to be a system or package issue.   That is,  Sagan was compiled with libesmtp but it can't locate the library.  Looking at your post,  I think this might fix this problem.    As root,  try this:

ln -s  /usr/lib/libesmtp.so.6.2.0  /usr/lib/libesmtp.so.6
ldconfig -a

After this,  try and re-run Sagan.  Hope this helps!


--
You received this message because you are subscribed to the Google Groups "sagan-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sagan-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sagan-users/143db829-21c9-4729-ae2a-c5d3fccbfa58n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages