installing on CentOS4 with Mysql rsyslog-0.9.7

Everything related with getting rsyslog up and running (but not beyond that point ;))

Moderator: rgerhards

installing on CentOS4 with Mysql rsyslog-0.9.7

Postby nozy on Mon Aug 29, 2005 6:37 am

Hi Guys

Trying to install rsyslog-0.9.7 on a Centos 4 Box (Red Hat 4 Clone) with out the mysql data base this work ok, as soon put on the data base and make it a get this.....

cc -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -I/usr/local/include -DWITH_DB -DSYSLOG_INET -DSYSLOG_UNIXAF -DFSSTND -DSYSLOGD_PIDNAME=\"rsyslogd.pid\" -c ../syslogd.c
cc -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -I/usr/local/include -DWITH_DB -c ../pidfile.c
cc -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -I/usr/local/include -DWITH_DB -c ../template.c
cc -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -I/usr/local/include -DWITH_DB -c ../stringbuf.c
cc -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -I/usr/local/include -DWITH_DB -c ../srUtils.c
cc -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -I/usr/local/include -DWITH_DB -c ../outchannel.c
cc -s -o syslogd syslogd.o pidfile.o template.o outchannel.o stringbuf.o srUtils.o -lmysqlclient -L/usr/local/lib/mysql
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make: *** [syslogd] Error 1

this has to be something I don't have install may be?
but its a full install.....

nozy@logbox linux]# rpm -qa | grep mysql
mod_auth_mysql-2.6.1-2.2
mysql-server-4.1.10a-2.RHEL4.1
mysqlclient10-devel-3.23.58-4.RHEL4.1
mysql-bench-4.1.10a-2.RHEL4.1
freeradius-mysql-1.0.1-3.RHEL4
mysqlclient10-3.23.58-4.RHEL4.1
mysql-devel-4.1.10a-2.RHEL4.1
mysql-4.1.10a-2.RHEL4.1
libdbi-dbd-mysql-0.6.5-10.RHEL4.1
php-mysql-4.3.9-3.8
nozy
New
 
Posts: 2
Joined: Mon Aug 29, 2005 5:52 am

Professional Services Information

  • Custom written rsyslog.conf?
  • Maintenance Contract?
  • Installation support?

RE: installing on CentOS4 with Mysql rsyslog-0.9.7

Postby nozy on Mon Aug 29, 2005 6:49 am

fix it in the linux copy of the Makefile I need to update this

# Include MySQL client lib if DB is selected
ifdef WITHDB
# LIBS = -lmysqlclient -L/usr/local/lib/mysql
LIBS = -lmysqlclient -L/usr/lib/mysql
endif
nozy
New
 
Posts: 2
Joined: Mon Aug 29, 2005 5:52 am

Google Ads



Return to Installation

Who is online

Users browsing this forum: No registered users and 0 guests

cron