<div>Hello Guys,</div>
<div> </div>
<div>I am trying to compile syslog_ng on solaris 10 opteron with mixed linking option.  I was able  to successfully compile glib-2.16.5 statically.</div>
<div>in my configure stage of syslog_ng 3.3.4 , I get he below error.</div>
<div> </div>
<div>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<br>libglib-2.0.a is present under /usr/local/lib .</div>

<div>When I checked the config.log, I have the following errors.</div>
<div> </div>
<div>configure:5326: checking lex library<br>configure:5340: gcc -std=gnu99 -o conftest -g -O2   conftest.c   &gt;&amp;5<br>Undefined                       first referenced<br> symbol                             in file<br>
yywrap                              /var/tmp//cc2KbW8B.o<br>ld: fatal: Symbol referencing errors. No output written to conftest<br>collect2: ld returned 1 exit status<br>configure:5340: $? = 1<br>configure: failed program was:<br>
| /* confdefs.h */<br>| #define PACKAGE_NAME &quot;&quot;<br>| #define PACKAGE_TARNAME &quot;&quot;<br>| #define PACKAGE_VERSION &quot;&quot;<br>| #define PACKAGE_STRING &quot;&quot;<br>| #define PACKAGE_BUGREPORT &quot;&quot;<br>
| #define PACKAGE_URL &quot;&quot;<br>| /* end confdefs.h.  */<br>|<br>| #line 3 &quot;lex.yy.c&quot;<br>|<br>| #define  YY_INT_ALIGNED short int<br>|<br>| /* A lexical scanner generat</div>
<div> </div>
<div> </div>
<div>Any inputs on how can i fix this please?</div>
<div> </div>
<div>Best Regards,</div>
<div>Rakesh</div>