[Freeswitch-users] Building static freeswitch binary

Alexandr Nikolaichev alexandr.nikolaichev at gmail.com
Thu Sep 22 19:19:40 MSD 2016


--disable-core-pgsql-support doesn't work either. Binary still depends on
libpq.so

https://pastebin.freeswitch.org/view/41f04b5f

2016-09-22 17:45 GMT+03:00 Michael Jerris <mike at jerris.com>:

>
> On Sep 22, 2016, at 6:16 AM, Alexandr Nikolaichev <
> alexandr.nikolaichev at gmail.com> wrote:
>
> Hi!
>
> I need to build freeswitch binary with as much as possible compiled-in
> libraries. But I faced with some problems:
>
> 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
>
>
> I suspect that those are not available as static libs on the system?
>
> 2) How can I build it without dependencies on libpng, libsqlite, and libpq?
>
>
> 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
> do need libsqlite, no option to build without
> don’t need libpq unless you want explicit postgres support not through odbc
>
> —disable-core-pgsql-support
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
-----------------
Regards
Alexandr Nikolaichev
alexandr.nikolaichev at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160922/f888ca77/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list