Hi,

I was trying to compile the syslog-ng 3.01 on Solaris 10 Opteron machine using the mixed linking option. In the configure stage I get the below error complaining about the glib . I have compiled glib with teh enable static flag and the  libglib-2.0.a library is available under the path /usr/local/lib and my PKG_CONFIG_PATH environment variable has been set correctly too.
Please help me solve this. 
Below is the configure error.

checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking for LIBNET... no
checking whether to enable Sun STREAMS support... yes
checking whether to enable Sun door support... yes
checking whether to enable TCP wrapper support... no
checking whether to enable spoof source support... no
checking whether to enable IPv6 support... yes
checking whether to enable SQL support... no
checking whether to enable Linux capability support... no
checking whether to enable PCRE support... no
checking for pkg-config... (cached) /usr/local/bin/pkg-config
checking pkg-config is at least version 0.14... yes
checking for GLIB - version >= 2.10.1... yes (version 2.16.5)
checking for EVTLOG... yes
checking for static GLib libraries... no
checking sanity checking Glib headers... yes
configure: error: static GLib libraries not found (a file named libglib-2.0.a), either link GLib dynamically using the --enable-dynamic-linking or install a static GLib

Thanks & Regards,
Rakesh