[syslog-ng]syslog-ng logging to mysql

Abraham, Ajamu AAbraham@about-inc.com
Mon, 18 Feb 2002 01:59:59 -0500


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C1B849.E12B28B0
Content-Type: text/plain;
	charset="iso-8859-1"

Thanks for the link! However I got another novice question. I am having
troubles getting sqlsyslogd running. I get this message when I try to make:
ogbitch# make
cc -O6 -Wall -pipe -I/usr/local/include
-DCONF=\"/usr/local/etc/sqlsyslogd.conf\" -L/usr/local/lib/mysql
-lmysqlclient sqlsyslogd.c  -o sqlsyslogd
/usr/local/lib/mysql/libmysqlclient.so: undefined reference to `strtoll'
*** Error code 1

Stop in /usr/local/lab.

I am running syslog-ng this on freeBSD. I checked to see if
libmysqlclient.so is in the correct location and it is:
logbitch# ls -la /usr/local/lib/mysql
total 984
drwxr-xr-x  2 root  wheel     512 Feb 16 20:48 .
drwxr-xr-x  7 root  wheel    1024 Feb 13 15:35 ..
-r--r--r--  1 root  wheel   10542 Jan 23 14:47 libdbug.a
-r--r--r--  1 root  wheel   34278 Jan 23 14:48 libheap.a
-r--r--r--  1 root  wheel   15138 Jan 23 14:47 libmerge.a
-r--r--r--  1 root  wheel  223014 Jan 23 14:47 libmyisam.a
-r--r--r--  1 root  wheel   23010 Jan 23 14:48 libmyisammrg.a
-rw-r--r--  1 root  wheel  187098 Jan 23 07:39 libmysqlclient.a
lrwxr-xr-x  1 root  wheel      20 Feb 13 15:35 libmysqlclient.so ->
libmysqlclient.so.10
-rwxr-xr-x  1 root  wheel  132453 Jan 23 07:39 libmysqlclient.so.10
-r--r--r--  1 root  wheel   35136 Jan 23 14:47 libmystrings.a
-r--r--r--  1 root  wheel  193874 Jan 23 14:47 libmysys.a
-r--r--r--  1 root  wheel   98296 Jan 23 14:47 libnisam.a

I am wondering if you or anyone else can point me in the right direction.
Thanks in advance.

- Ajamu

------_=_NextPart_001_01C1B849.E12B28B0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">



RE: [syslog-ng]syslog-ng logging to mysql



Thanks for the link! However I got another novice = question. I am having troubles getting sqlsyslogd running. I get this = message when I try to make:

ogbitch# make
cc -O6 -Wall -pipe -I/usr/local/include = -DCONF=3D\"/usr/local/etc/sqlsyslogd.conf\" = -L/usr/local/lib/mysql -lmysqlclient sqlsyslogd.c  -o = sqlsyslogd

/usr/local/lib/mysql/libmysqlclient.so: undefined = reference to `strtoll'
*** Error code 1

Stop in /usr/local/lab.

I am running syslog-ng this on freeBSD. I checked to = see if libmysqlclient.so is in the correct location and it is:
logbitch# ls -la /usr/local/lib/mysql
total 984
drwxr-xr-x  2 root  = wheel     512 Feb 16 20:48 .
drwxr-xr-x  7 root  = wheel    1024 Feb 13 15:35 ..
-r--r--r--  1 root  wheel   = 10542 Jan 23 14:47 libdbug.a
-r--r--r--  1 root  wheel   = 34278 Jan 23 14:48 libheap.a
-r--r--r--  1 root  wheel   = 15138 Jan 23 14:47 libmerge.a
-r--r--r--  1 root  wheel  223014 Jan = 23 14:47 libmyisam.a
-r--r--r--  1 root  wheel   = 23010 Jan 23 14:48 libmyisammrg.a
-rw-r--r--  1 root  wheel  187098 Jan = 23 07:39 libmysqlclient.a
lrwxr-xr-x  1 root  = wheel      20 Feb 13 15:35 libmysqlclient.so = -> libmysqlclient.so.10
-rwxr-xr-x  1 root  wheel  132453 Jan = 23 07:39 libmysqlclient.so.10
-r--r--r--  1 root  wheel   = 35136 Jan 23 14:47 libmystrings.a
-r--r--r--  1 root  wheel  193874 Jan = 23 14:47 libmysys.a
-r--r--r--  1 root  wheel   = 98296 Jan 23 14:47 libnisam.a

I am wondering if you or anyone else can point me in = the right direction. Thanks in advance.

- Ajamu

------_=_NextPart_001_01C1B849.E12B28B0--