[rsyslog] rsyslog-3.15.0 compile problem
BLentz at channing-bete.com
Wed Apr 2 11:03:12 CEST 2008
> You are probably right. After your message I checked the module loader
> and it just returns the generic error code. I'll fix that...
>> Hi Ben,
>> my guess is that rsyslog can't find its libraries (e.g.
>> /usr/local/lib/rsyslog/lmregexp.so). You'll need to do "make install"
>> or something like "ln -s $(find /path/to/rsyslog/sources/ -name
>> "*.so") /usr/[local/]lib/rsyslog".
>> You can run "strace ./rsyslogd -v" to see where it looks for its
Yep, you're right. I was expecting:
- Shared library issues at runtime to be visible using ldd(1)
- To at least be able to get command-line help or version (-v)
information from rsyslogd (without loadable modules)
- A nicer error message ;-)
strace ./rsyslogd -v -b -n 2>&1 | grep ENOENT
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or
open("/usr/lib/rsyslog/lmnet.so", O_RDONLY) = -1 ENOENT (No such file or
Can the module path (/usr/lib/rsyslog) be specified? Is there a
./configure option that I'm missing at compile time or a command line
parameter to rsyslogd or config file parameter in rsyslog.conf? I've
been through ./configure --help, rsyslogd.8 and rsyslog.conf.5 and can't
seem to find anything?
It's very early in the US and I might just be missing something obvious.
More information about the rsyslog