-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
I found there are problems when running zmq destination with syslog-ng 3.7.2
It compiles successfully, but it fails when running with the configuration below.
@version: 3.7
@include "scl.conf"
source s_system { system(); internal(); };
destination zmq_des {
zmq(
port(5557)
);
};
log { source(s_system); destination(zmq_des); };
I tried by
- compiling from the source in my ubuntu 14.04 server
- compiling in the syslog-ng-incubator-dev docker image.
Both tries failes with following message
[2016-03-22T11:26:37.194081] Module loaded and initialized successfully; module='sdjournal'
[2016-03-22T11:26:37.194124] Finishing include; content='source confgen system', depth='1'
[2016-03-22T11:26:37.194447] Module loaded and initialized successfully; module='zmq'
/usr/sbin/syslog-ng: symbol lookup error: /usr/lib/syslog-ng/3.7/libzmq.so: undefined symbol: init_sequence_number
I look into the code and found the reason is that the init_sequence_number function is not included. Include "lib/misc.h" solve the problem when it is syslog-ng 3.7.2.
However init_sequence_number is in lib/misc.h in syslog-ng 3.7.2, and init_sequence_number is in lib/seqnum.h in syslog-ng 3.8
How should I include the file?
PS:
If I use the syslog-ng 3.8 in the master version to compile syslog-ng-incubator, problems like #149 will be encountered.
Metadata
Metadata
Assignees
Labels
No labels