[syslog-ng] error while loading shared libraries

Pete Perreault peter.perreault+balabit at gmail.com
Wed Mar 12 16:10:12 CET 2014


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 configured
 Compiler options:
  compiler                    : gcc -std=gnu99
  compiler 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=64
  linker flags                :
  prefix                      : /usr/local
  linking mode                : dynamic
  embedded crypto             : no
  __thread keyword            : yes
 Submodules:
  ivykis                      : internal
  libmongo-client             : internal
  librabbitmq                 : internal
 Features:
  Debug symbols               : no
  GCC profiling               : no
  Memtrace                    : no
  IPV6 support                : yes
  spoof-source support        : no
  tcp-wrapper support         : no
  Linux capability support    : no
  PCRE support                : yes
  Env wrapper support         : no
  systemd support             : no (unit dir: none)
 Modules:
  Module search path          : /usr/local/lib/syslog-ng
  Sun STREAMS support (module): no
  SSL support (module)        : yes
  SQL support (module)        : no
  PACCT module (EXPERIMENTAL) : no
  MongoDB destination (module): yes
  JSON support (module)       : no
  SMTP support (module)       : yes
  AMQP destination (module)   : yes
  STOMP destination (module)  : yes
  GEOIP support (module)      : no
  Redis support (module)      : no


Yet, 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
directory


However, 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.so

any thoughts as to what might be wrong?

Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20140312/fd5b91aa/attachment.htm 


More information about the syslog-ng mailing list