[syslog-ng] error while loading shared libraries
Balazs Scheidler
bazsi77 at gmail.com
Fri Mar 14 22:42:14 CET 2014
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.
On Mar 12, 2014 4:10 PM, "Pete Perreault" <peter.perreault+balabit at gmail.com>
wrote:
> 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,
>
>
>
>
> ______________________________________________________________________________
> 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20140314/9dcaf2a1/attachment.htm
More information about the syslog-ng
mailing list