Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

be able to build against openssl-1.0.0 without compatibility functions #1396

Closed
pprindeville opened this issue Mar 25, 2017 · 1 comment
Closed

Comments

@pprindeville
Copy link
Contributor

syslog-ng

Version of syslog-ng

syslog-ng 3.9.1
Installer-Version: 3.9.1
Revision: 
Module-Directory: /usr/local/lib/syslog-ng
Module-Path: /usr/local/lib/syslog-ng
Available-Modules: 
Enable-Debug: off
Enable-GProf: off
Enable-Memtrace: off
Enable-IPv6: on
Enable-Spoof-Source: off
Enable-TCP-Wrapper: off
Enable-Linux-Caps: off

Platform

Ubuntu 16.04-2 LTS on x86_64

Issue

Requires building against openssl 1.x.x compiled with no-deprecated; this shouldn't be necessary.

Failure

If you link against openssl 1.0.2k (as we have), but you didn't configure it with no-deprecated, you'll see at run-time:

Error relocating /usr/lib/libsyslog-ng-3.9.so.0: CRYPTO_set_id_callback: symbol not found

Steps to reproduce

  1. start syslog-ng

Configuration

$ cat /etc/syslog-ng.conf
@version:3.9
 
options {
        chain_hostnames(no);
        create_dirs(yes);
        flush_lines(0);
        keep_hostname(yes);
        log_fifo_size(256);
        log_msg_size(1024);
        stats_freq(0);
        flush_lines(0);
        use_fqdn(no);
};
 
source src {
        internal();
        unix-dgram("/dev/log");
};
 
source net {
        udp(ip(0.0.0.0) port(514));
};
 
source kernel {
        file("/proc/kmsg" program_override("kernel"));
};
 
destination messages {
        file("/var/log/messages");
};
 
log {
        source(src);
        source(net);
        source(kernel);
        destination(messages);
};
 
@include "/etc/custom-logs.conf"
 $ 

Input and output logs (if possible)

N/A

@pprindeville
Copy link
Contributor Author

Fix with the merge of PR #1397.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant