<div dir="ltr">--disable-core-pgsql-support doesn&#39;t work either. Binary still depends on libpq.so<br><br><a href="https://pastebin.freeswitch.org/view/41f04b5f">https://pastebin.freeswitch.org/view/41f04b5f</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-09-22 17:45 GMT+03:00 Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><span class=""><blockquote type="cite"><div>On Sep 22, 2016, at 6:16 AM, Alexandr Nikolaichev &lt;<a href="mailto:alexandr.nikolaichev@gmail.com" target="_blank">alexandr.nikolaichev@gmail.<wbr>com</a>&gt; wrote:</div><br><div><div dir="ltr">Hi!<br><br>I need to build freeswitch binary with as much as possible compiled-in libraries. But I faced with some problems:<br><br>1) Configure script does not allow static linking. At least running ./configure with LDFLAGS=&quot;-Wl,static -lssl -lcrypto -Wl,dynamic&quot; produces binary that depends on libssl.so and libcrypto.so<br></div></div></blockquote><div><br></div></span><div>I suspect that those are not available as static libs on the system?</div><span class=""><br><blockquote type="cite"><div><div dir="ltr">2) How can I build it without dependencies on libpng, libsqlite, and libpq?<br></div></div></blockquote><div><br></div></span>don’t “need” libpng.  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>do need libsqlite, no option to build without</div><div>don’t need libpq unless you want explicit postgres support not through odbc</div><div><br></div><div><div style="margin:0px;font-size:13px;line-height:normal;font-family:Monaco;color:rgb(191,191,191);background-color:rgb(0,0,0)"><span>—disable-core-pgsql-support</span></div></div><br><div><br></div></div><br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>-----------------<br>Regards<br>Alexandr Nikolaichev<br><a href="mailto:alexandr.nikolaichev@gmail.com" target="_blank">alexandr.nikolaichev@gmail.com</a><br></div></div></div>
</div>