Hi Raoul,
> you can try to use ldd(1) to print the shared libraries which are
> used by a specific executable.
>
> e.g.
> > ldd /usr/sbin/rsyslogd | grep mysql
> > libmysqlclient.so.15 => /usr/lib/libmysqlclient.so.15
> (0xb7d74000)
Yes, this is what slipped my mind and what I was trying to remember.
When I do this on the 1.17.5 (from the src.rpm):
# ldd /sbin/rsyslogd |grep mysql
#
and when I do it from the 1.18.0 I compiled (but which gives that skew error):
# ldd ./rsyslogd |grep mysql
libmysqlclient.so.14 => /usr/lib/mysql/libmysqlclient.so.14 (0x004fb000)
So basically, the http://people.redhat.com/pvrabec/rpms/rsyslog/ site for this
is not mysql enabled.
That's somewhat frustrating because I'm not sure now I can successfully
compile rsyslog with this skew error.
Michael.
> kind regards,
> raoul bhatia
>
> Michael Mansour wrote:
> > Hi,
> >
> > I went here:
> >
> > http://people.redhat.com/pvrabec/rpms/rsyslog/
> >
> > and grabbed the rsyslog-1.17.5-1.src.rpm RPM, I then rebuilt it and
> > installed
> > it onto an SL4.5 server (RHEL 4 U5).
> >
> > I then setup a MySQL database, and setup the /etc/rsyslog.conf file to
> > output
> > to that database based on the instructions here:
> >
> > http://www.rsyslog.com/module-Static_Docs-view-f-rsyslog_mysql.html.phtml
> >
> > After all that, I setup phpLogCon.
> >
> > After all that, I see no entries getting logged into the MySQL database by
> > rsyslog. I've checked every step from the beginning and can only come to the
> > assumption that the rsyslog RPM above is not compiled with MySQL support??
> >
> > Is this assumption valid and if so, why didn't the Red Hat person also make
> > a
> > mysql one?
> >
> > I'm guessing now I need to install from tarball? (I'd prefer RPM which is
> > why
> > I started there first).
> >
> > Any way I can see what the /sbin/rsyslog binary is compiled with?
> >
> > Thanks.
> >
> > Michael.
> >
> > _______________________________________________
> > rsyslog mailing list
> > http://lists.adiscon.net/mailman/listinfo/rsyslog
>
> --
> ____________________________________________________________________
> DI (FH) Raoul Bhatia M.Sc. E-Mail. [EMAIL PROTECTED]
> IPAX Web. http://www.ipax.at
> Chief Technician, Support IRC. #ipax (quakenet)
> ____________________________________________________________________
> _______________________________________________
> rsyslog mailing list
> http://lists.adiscon.net/mailman/listinfo/rsyslog
------- End of Original Message -------
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog