[syslog-ng] [Bug 194] Can't open libsyslog-ng-crypto.so during module loading on Fedora

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Thu Sep 6 16:47:50 CEST 2012


https://bugzilla.balabit.com/show_bug.cgi?id=194





--- Comment #1 from Gergely Nagy <algernon at balabit.hu>  2012-09-06 16:47:49 ---
Right. I checked my build logs, and at make install time, I see this:

libtool: relink: gcc -std=gnu99 -shared  -fPIC -DPIC  .libs/libafsocket_tls_la-afsocket.o .libs/libafsocket_tls_la-afunix.o .libs/libafsocket_tls_la-afinet.o
.libs/libafsocket_tls_la-afsocket-grammar.o .libs/libafsocket_tls_la-afsocket-parser.o .libs/libafsocket_tls_la-afsocket-plugin.o   -Wl,-rpath
-Wl,/home/algernon/install/syslog-ng/ose-3.3/lib -Wl,-rpath -Wl,/home/algernon/install/syslog-ng/ose-3.3/lib/syslog-ng
-L/home/algernon/install/syslog-ng/ose-3.3/lib -lsyslog-ng -L/home/algernon/install/syslog-ng/ose-3.3/lib/syslog-ng -lsyslog-ng-crypto -lssl -lcrypto
-L/usr/lib -lnet -lwrap -lsystemd-daemon  -O0 -pthread   -pthread -Wl,-soname -Wl,libafsocket-tls.so -o .libs/libafsocket-tls.so

This sets the RPATH of libafsocket.so correctly, and this should be done by libtool automatically. I'm not entirely sure why that doesn't happen on Fedora, or
if it does, then what strips the RPATH out of the ELF later. Do you happen to have a build log I could look at?

Also, would it be possible to check the output of objdump -p /usr/lib64/syslog-ng/libafsocket-tls.so | grep RPATH ?


-- 
Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the syslog-ng mailing list