<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">dig a bit on the linking link for libfreeswitch and figure out where its coming from? &nbsp;maybe its from our embedded apr-utils? &nbsp;might be able to hack in some more configure args to libs/apr-utils/configure.gnu to disable<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Sep 22, 2016, at 11:19 AM, Alexandr Nikolaichev &lt;<a href="mailto:alexandr.nikolaichev@gmail.com" class="">alexandr.nikolaichev@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">--disable-core-pgsql-support doesn't work either. Binary still depends on libpq.so<br class=""><br class=""><a href="https://pastebin.freeswitch.org/view/41f04b5f" class="">https://pastebin.freeswitch.org/view/41f04b5f</a><br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">2016-09-22 17:45 GMT+03:00 Michael Jerris <span dir="ltr" class="">&lt;<a href="mailto:mike@jerris.com" target="_blank" class="">mike@jerris.com</a>&gt;</span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><br class=""><div class=""><span class=""><blockquote type="cite" class=""><div class="">On Sep 22, 2016, at 6:16 AM, Alexandr Nikolaichev &lt;<a href="mailto:alexandr.nikolaichev@gmail.com" target="_blank" class="">alexandr.nikolaichev@gmail.<wbr class="">com</a>&gt; wrote:</div><br class=""><div class=""><div dir="ltr" class="">Hi!<br class=""><br class="">I need to build freeswitch binary with as much as possible compiled-in libraries. But I faced with some problems:<br class=""><br class="">1) Configure script does not allow static linking. At least running ./configure with LDFLAGS="-Wl,static -lssl -lcrypto -Wl,dynamic" produces binary that depends on libssl.so and libcrypto.so<br class=""></div></div></blockquote><div class=""><br class=""></div></span><div class="">I suspect that those are not available as static libs on the system?</div><span class=""><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class="">2) How can I build it without dependencies on libpng, libsqlite, and libpq?<br class=""></div></div></blockquote><div class=""><br class=""></div></span>don’t “need” libpng.&nbsp; You can force it not to use it by pushing the right things to autoconf or hiding the pc file, we don’t have an explicit configure arg to enable. video features won’t work without it</div><div class="">do need libsqlite, no option to build without</div><div class="">don’t need libpq unless you want explicit postgres support not through odbc</div><div class=""><br class=""></div><div class=""><div style="margin:0px;font-size:13px;line-height:normal;font-family:Monaco;color:rgb(191,191,191);background-color:rgb(0,0,0)" class=""><span class="">—disable-core-pgsql-support</span></div></div><br class=""></div></blockquote></div></div></div></blockquote></div><br class=""></div></body></html>