<div>I am getting an error during the make stage for syslog-ng 3.3.4.</div>
<div>complaining about libiconv. I have compiled libiconv and the library is available under /usr/local/lib</div>
<div># ls -ltr /usr/local/lib/libiconv*<br>-rw-r--r-- 1 root system 890 Jun 17 23:35 /usr/local/lib/<a href="http://libiconv.la">libiconv.la</a><br>-rw-r--r-- 1 root system 1724284 Jun 17 23:35 /usr/local/lib/libiconv.a<br>
</div>
<div> </div>
<div>ykis-modules.a -lc -Wl,-bnoentry -O2 -pthread -Wl,-brtl -pthread -Wl,--whole-archive -Wl,--no-whole-archive -pthread -Wl,-bE:.libs/libsyslog-ng.exp -Wl,-bernotok<br>/usr/local/lib/libglib-2.0.a(gconvert.o):gconvert.c:(.pr+0x12c): undefined reference to `.libiconv_open'<br>
/usr/local/lib/libglib-2.0.a(gconvert.o):gconvert.c:(.pr+0x358): undefined reference to `.libiconv'<br>/usr/local/lib/libglib-2.0.a(gconvert.o):gconvert.c:(.pr+0x39c): undefined reference to `.libiconv_close'<br>collect2: ld returned 1 exit status</div>
<div> </div>
<div>The compilaiton of glib was fine but not sure why the make fails.</div>
<div> </div>
<div>Below is my configure options.</div>
<div> </div>
<div>./configure --enable-dynamic-linking --prefix=/opt/soe/local/syslog-ng-3.3.4 \<br>--with-ld-library-path=/opt/soe/local/syslog-ng-3.3.4/lib \<br>--libdir=/opt/soe/local/syslog-ng-3.3.4/lib --enable-mongodb=no -with-libmongo-client=no</div>
<div> </div>
<div>Any valuable inputs on this please?</div>
<div> </div>
<div>Thanks ,</div>
<div>Rakesh.<br></div>