Can it happen that you compiled with a cross compiler for a different target?
IIRC this is what happens when you try to load an so that cannot run on the current CPU.
Hi-I had syslog-ng 3.5.3 operational without an issue. I wanted to implement the smtp driver so installed libesmtp and then re-compiled both enventlog and syslog-ng. The only difference was my configure arguments for syslog-ng, which was configure --with-libesmtp=/usr/local/lib. Everything looked good afterwards.syslog-ng Open Source Edition 3.5.3 configuredCompiler options:compiler : gcc -std=gnu99compiler options : -g -O2 -Wall -pthread -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/eventlog -I$(top_srcdir)/lib/ivykis/src/include -I$(top_builddir)/lib/ivykis/src/include -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64linker flags :prefix : /usr/locallinking mode : dynamicembedded crypto : no__thread keyword : yesSubmodules:ivykis : internallibmongo-client : internallibrabbitmq : internalFeatures:Debug symbols : noGCC profiling : noMemtrace : noIPV6 support : yesspoof-source support : notcp-wrapper support : noLinux capability support : noPCRE support : yesEnv wrapper support : nosystemd support : no (unit dir: none)Modules:Module search path : /usr/local/lib/syslog-ngSun STREAMS support (module): noSSL support (module) : yesSQL support (module) : noPACCT module (EXPERIMENTAL) : noMongoDB destination (module): yesJSON support (module) : noSMTP support (module) : yesAMQP destination (module) : yesSTOMP destination (module) : yesGEOIP support (module) : noRedis support (module) : noYet, now when I attempt to start syslog-ng I receive the following error./usr/local/sbin/syslog-ng: error while loading shared libraries: libsyslog-ng-3.5.3.so: cannot open shared object file: No such file or directoryHowever, the file looks good also.ls -l /usr/local/lib/libsyslog-ng-3.5.3.so-rwxr-xr-x 1 root root 2227624 Mar 12 08:47 /usr/local/lib/libsyslog-ng-3.5.3.soany thoughts as to what might be wrong?Thanks,
______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq