Summary: | app-admin/syslog-ng-3.3.4 fails to start with ld.gold - /usr/lib64/syslog-ng/libsyslog-ng-crypto.so: undefined symbol: RAND_file_name | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michael Palimaka (kensington) <kensington> |
Component: | Current packages | Assignee: | Mr. Bones. (RETIRED) <mr_bones_> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | 7v5w7go9ub0o |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 372079 | ||
Attachments: | build log |
Description
Michael Palimaka (kensington)
2012-02-23 07:52:52 UTC
Does it work if you add: sed -i -e '/libsyslog_ng_crypto_la_LIBADD/s/$/ -lcrypto/' lib/Makefile.am || die after the epatch in the ebuild? Don't know what ld.gold is; I'm (newbie) having a similar issue; the way I read it, some plugins required to interpret the config file are not found, or are not being built: * Starting syslog-ng ... Error opening plugin module; module='affile', error='libsyslog-ng.so.0: cannot open shared object file: No such file or directory' Error opening plugin module; module='afprog', error='libsyslog-ng.so.0: cannot open shared object file: No such file or directory' Error opening plugin module; module='afsocket', error='libsyslog-ng.so.0: cannot open shared object file: No such file or directory' Error opening plugin module; module='afuser', error='libsyslog-ng.so.0: cannot open shared object file: No such file or directory' Error opening plugin module; module='basicfuncs', error='libsyslog-ng.so.0: cannot open shared object file: No such file or directory' Error opening plugin module; module='csvparser', error='libsyslog-ng.so.0: cannot open shared object file: No such file or directory' Error opening plugin module; module='dbparser', error='libsyslog-ng.so.0: cannot open shared object file: No such file or directory' Error opening plugin module; module='syslogformat', error='libsyslog-ng.so.0: cannot open shared object file: No such file or directory' Error parsing source, source plugin unix-stream not found in /etc/syslog-ng/syslog-ng.conf at line 16, column 14: source src { unix-stream("/dev/log"); internal(); }; (In reply to comment #1) > Does it work if you add: > > sed -i -e '/libsyslog_ng_crypto_la_LIBADD/s/$/ -lcrypto/' lib/Makefile.am || > die > > after the epatch in the ebuild? This solves the 'RAND_file_name' error, but is replaced with 'SSL_library_init'. When adding '-lssl' too, it works correctly. ok, I added both libraries. Try it out and reopen if it's still not working. My issue, though having similar startup error messages, is now resolved. With this new version of syslog-ng, my chroot suddenly requires /usr/lib64/syslog-ng present in the jail. Had been working fine without those libraries for the last decade (I surmise that the chroot has been redesigned and is now more secure). |