[syslog-ng] GLib version problem?

Geller, Sandor (IT) Sandor.Geller at morganstanley.com
Wed Aug 15 15:13:49 CEST 2007


Hi,

> Hello,
>  
> I'm trying to install syslog-NG onto a Cent OS 5 server, and 
> running into a problem. The problem appears to be more of a 
> RedHat/Cent problem (or even Glib problem) rather than 
> Syslog-NG problem, but I thought I'd check with the community 
> before I harass Red Hat. I have the RPM verion of glib2.12 
> installed, however the libraries seemed to be labled 2.0.0. 

No, it is actually 2.12.3, the binary compatibility version is
2.0

> When I configure syslog-ng, I run across the following error:
>     checking pkg-config is at least version 0.9.0... yes
>     checking for GLIB... no
>     configure: error: Cannot find GLib library version >= 
> 2.2: is pkg-config in path?
>     [root at syslog syslog-ng-2.0.5]#
>  
> I have the rpm installed:
>     [root at syslog syslog-ng-2.0.5]# yum list installed glib2
>     Loading "installonlyn" plugin
>     Loading "fastestmirror" plugin
>     Installed Packages
>     glib2.i386                               2.12.3-2.fc6     
>       installed
>     [root at syslog syslog-ng-2.0.5]#
>  
> However the libraries seem to be mislabeled:
>     [root at syslog syslog-ng-2.0.5]# locate glib | grep "/lib/libg"
>     /lib/libglib-2.0.so.0
>     /lib/libglib-2.0.so.0.1200.3
>     [root at syslog syslog-ng-2.0.5]#
>  
> Am I just missing something simple, or is this a problem I 
> should be trying to speak to Cent/Red Hat about?

You need the development package too. yum install glib2-devel

Regards,

Sandor
--------------------------------------------------------

NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.


More information about the syslog-ng mailing list