<div>Thanks Gergely... I went for 3.0.7 and as with 3.0.1 the same error existed here as well. Now as you suggested I build libiconv with the --enable-static ( in configure). and after which everything went perfectly fine. </div>

<div> </div>
<div>Best Regards,</div>
<div>Rakesh<br><br></div>
<div class="gmail_quote">On Sun, Feb 20, 2011 at 12:35 AM, Gergely Nagy <span dir="ltr">&lt;<a href="mailto:algernon@balabit.hu">algernon@balabit.hu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi!<br>
<div class="im"><br>On Sun, 2011-02-20 at 00:19 +0530, Rakesh Rajasekharan wrote:<br>&gt; I have uploaded the config.log at paste bin hope you would receive<br>&gt; that. Meanwhile, I just went through the config log and suspect that<br>
&gt; there seems to be issues findng the libivonv library file. I had<br>&gt; directly taken the libiconv package and installed it using the pkgadd<br>&gt; command. Would that not be enough or do I need to compile it manually.<br>
<br></div>I suspect that libiconv does not have a static library, yet, judging by<br>the gcc comandline, gcc is trying to link it statically (along with<br>libintl, but since it errored on iconv which comes later, I think<br>
libintl is fine).<br><br>I&#39;d check if it is, indeed, shared only (as in, there is no libiconv.a),<br>and if so, compile one that has a static version aswell.<br><br>Another option would be - if you&#39;re fine with linking libiconv<br>
dynamically - to find the pkg-config control file for glib<br>(/usr/local/lib/pkgconfig/glib-2.0.pc or something similar), and remove<br>libiconv from the Libs line there, and add it to the linked libraries<br>some other way (for example, by exporting LDFLAGS=-liconv before running<br>
configure). I haven&#39;t tested this second workaround, so your might have<br>to tweak a few things if you go this route.<br><br>By the way: the newest version of syslog-ng from the 3.0.x series is<br>3.0.7, it might be worth going with that version instead, unless you<br>
need to stay with 3.0.1 for some reason.<br><br>Hope this helps!<br><font color="#888888">--<br></font>
<div>
<div></div>
<div class="h5">|8]<br><br><br><br>______________________________________________________________________________<br>Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>FAQ: <a href="http://www.campin.net/syslog-ng/faq.html" target="_blank">http://www.campin.net/syslog-ng/faq.html</a><br>
<br></div></div></blockquote></div><br>