2015-06-10 22:29 GMT+02:00 Thomas D. <[email protected]>: > Hi, > > Tim wrote: >>> these are the steps to reproduce the issue: >>> >>> - set up a RHEL 7 enviroment >>> - install rsyslog v8.10.0 from release tarball with this configure >>> statement: ./configure --prefix=/usr --enable-gnutls --enable-mysql >>> - load ommysql module and create a write to database action in your >>> configuration > > Mh, do I really need to get RHEL7 to trigger the problem? I tried on > Gentoo but was unable to reproduce (openssl-1.0.2a, gnutls-3.3.15, > libmysqlclient from mariadb-10.0.19). > > Are you using official MariaDB and GnuTLS packages from RHEL or did you > build these packages from source, too? > > - gnutls-3.3.8-12.el7? > - mariadb-5.5.41-2.el7_0? > > > I am currently wondering why ommysql.so is linked against libgnutls.so > and libssl.so:
That's an interesting path, and I will check that. My guess is that for some reason this was added to the RSRT_CFLAGS... Rainer > >> # ldd /usr/lib64/rsyslog/ommysql.so >> linux-vdso.so.1 (0x00007ffc7fb70000) >> libmysqlclient.so.18 => /usr/lib64/libmysqlclient.so.18 >> (0x00007f96d3bb0000) >> libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f96d3995000) >> libz.so.1 => /lib64/libz.so.1 (0x00007f96d377f000) >> libm.so.6 => /lib64/libm.so.6 (0x00007f96d3483000) >> libssl.so.1.0.0 => /usr/lib64/libssl.so.1.0.0 (0x00007f96d320d000) >> libcrypto.so.1.0.0 => /usr/lib64/libcrypto.so.1.0.0 >> (0x00007f96d2dcf000) >> libdl.so.2 => /lib64/libdl.so.2 (0x00007f96d2bcb000) >> libgnutls.so.28 => /usr/lib64/libgnutls.so.28 (0x00007f96d28b6000) >> libc.so.6 => /lib64/libc.so.6 (0x00007f96d2513000) >> /lib64/ld-linux-x86-64.so.2 (0x00007f96d4314000) >> libtasn1.so.6 => /usr/lib64/libtasn1.so.6 (0x00007f96d2300000) >> libnettle.so.4 => /usr/lib64/libnettle.so.4 (0x00007f96d20cd000) >> libhogweed.so.2 => /usr/lib64/libhogweed.so.2 (0x00007f96d1e9d000) >> libgmp.so.10 => /usr/lib64/libgmp.so.10 (0x00007f96d1c24000) > > > -Thomas > > _______________________________________________ > rsyslog mailing list > http://lists.adiscon.net/mailman/listinfo/rsyslog > http://www.rsyslog.com/professional-services/ > What's up with rsyslog? Follow https://twitter.com/rgerhards > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of > sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T > LIKE THAT. _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

