installation error with mysql

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

Moderator: rgerhards

installation error with mysql

Postby frankchen » Mon Aug 18, 2008 4:08 am

hello I am a new rsyslog user from china
I find this fourm from google
I hope you can solve my problem tks

I have download rsyslog-3.18.2 for my RHEL AS4 kernel 2.6.9-42
I have installed mysql-5.0.22.tar.gz as well as MySQL-devel-5.0.22-0.i386.rpm and MySQL-client-5.0.22-0.i386.rpm
mysql runs well
while i was install rsyslog-3.18.2,but the error appeared

./configure --enable-mysql

checking mysql/mysql.h usability... yes
checking mysql/mysql.h presence... yes
checking for mysql/mysql.h... yes
checking for mysql_config... yes
checking for mysql_init in -lmysqlclient... no
configure: error: MySQL library is missing
See `config.log' for more details.
frankchen
New
 
Posts: 1
Joined: Sun Aug 17, 2008 6:05 am

Professional Services Information

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

Re: installation error with mysql

Postby hkspvt » Mon Aug 18, 2008 3:06 pm

Can you post the results of:
echo $LDFLAGS
ldconfig -v | grep -E "^/|mysql"

Also, look through config.log for where things start failing. This should point you in the right direction.

-HKS
hkspvt
Frequent Poster
 
Posts: 125
Joined: Thu Jun 26, 2008 6:31 pm

Re: installation error with mysql

Postby rgerhards » Mon Sep 01, 2008 7:40 am

This most often means that the MySQL development package is missing. (often named mysql-devel or something similar).
User avatar
rgerhards
Site Admin
 
Posts: 2647
Joined: Thu Feb 13, 2003 11:57 am

Re: installation error with mysql

Postby joe.hidden » Fri Jan 16, 2009 3:49 pm

joe.hidden
Avarage
 
Posts: 13
Joined: Thu Jan 15, 2009 10:35 am

Google Ads



Return to Installation

Who is online

Users browsing this forum: No registered users and 0 guests

cron