<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 >&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 ""<br>| #define PACKAGE_TARNAME ""<br>| #define PACKAGE_VERSION ""<br>| #define PACKAGE_STRING ""<br>| #define PACKAGE_BUGREPORT ""<br>
| #define PACKAGE_URL ""<br>| /* end confdefs.h. */<br>|<br>| #line 3 "lex.yy.c"<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>