[suggest] Fw: [rsyslog] rsyslog 1.19.0 released

Stefan Radman Stefan.Radman at CTBTO.ORG
Fri Aug 17 09:02:09 CEST 2007


You'll need to add something along the lines below to create a
subpackage for the mysql output module.

%package mysql
Group: System Environment/Daemons
Summary: MySQL plugin for rsyslog
Requires: %{name} = %{version}

%description mysql
MySQL output module for rsyslog

%files mysql
%defattr(-,root,root,-)
%{_libdir}/rsyslog/ommysql.so*
%exclude %{_libdir}/*.a
%exclude %{_libdir}/*.la

Cheers
Stefan


> -----Original Message-----
> From: suggest-bounces at lists.rpmforge.net 
> [mailto:suggest-bounces at lists.rpmforge.net] On Behalf Of 
> Michael Mansour
> Sent: Thursday, 16 August, 2007 15:47
> To: suggest lists.rpmforge.net
> Subject: [suggest] Fw: [rsyslog] rsyslog 1.19.0 released
> 
> Hi,
> 
> Since rsyslog 1.17.5, I've been building the RPM's using the specfile
> attached.
> 
> This original spec was from the "redhat people", I just modified:
> 
> %define with_db 1
> from 0 to 1, and:
> 
> Version: 1.19.0
> whenever I wnated to build a newer version and most importantly:
> 
> %configure --sbindir=%{sbindir} --enable-mysql
> ie. added the --enable-mysql to build a mysql-enabled version 
> of rsyslog.
> 
> This has worked fine until 1.19.0, where as we can see from 
> the below mailout
> from Michael, the mysql support is now a plugin.
> 
> When I go to build, I get the following error:
> 
> warning: Installed (but unpackaged) file(s) found:
>    /lib/rsyslog/ommysql.a
>    /lib/rsyslog/ommysql.la
>    /lib/rsyslog/ommysql.so.0.0.0
> Wrote: /usr/src/redhat/RPMS/i386/rsyslog-1.19.0-1.i386.rpm
> 
> so obviously when I install and try to use the mysql logging 
> features, rsyslog
> fails to log with:
> 
> Aug 16 23:35:11 server rsyslogd:could not load module
> '/lib/rsyslog/ommysql.so', dlopen: /lib/rsyslog/ommysql.so: 
> cannot open shared
> object file: No such file or directory
> 
> SO my question is, how can I modify the spec file to package the mysql
> libraries so they can be installed via the built RPM? or 
> should there be two
> spec files, one for rsyslog without mysql and one for rsyslog with?
> 
> Thanks.
> 
> Michael.
> 
> ---------- Forwarded Message -----------
> From: "Michael Meckelein" <mmeckelein at hq.adiscon.com>
> To: <rsyslog at lists.adiscon.com>
> Sent: Thu, 16 Aug 2007 14:33:56 +0200
> Subject: [rsyslog] rsyslog 1.19.0 released
> 
> Hi all,
> 
> rsyslog 1.19.0 has been released today. This release is the first to
> support dynamically loading of output plug-ins. The MySQL 
> output module
> has been converted into a loadable plug-in. This enables packagers to
> create much cleaner solutions by providing a rsyslog base 
> package and a
> MySQL add-on package. This release is recommended for all users.
> 
> Changelog:
> 
> http://www.rsyslog.com/Article115.phtml
> 
> Download:
> 
> http://www.rsyslog.com/Downloads-req-getit-lid-52.phtml
> 
> As always, feedback is appreciated.
> 
> Michael Meckelein
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
> ------- End of Forwarded Message -------
> 
> 



More information about the users mailing list