libsrtp icon indicating copy to clipboard operation
libsrtp copied to clipboard

building libsrtp as a shared lib

Open klnikita opened this issue 13 years ago • 3 comments

Hello,

I guess that some users want to build libsrtp as a shared library. Or at least I know that several linux distro are applying a patch like that one : http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-libs/libsrtp/files/libsrtp-1.4.4-shared.patch ,

klnikita avatar Aug 21 '13 22:08 klnikita

We have this working here within Cisco. I don't see any issue with adding support for shared libraries to libsrtp. I'll take the action to put this into the feature-openssl branch along with the other code we're contributing.

jfigus avatar Aug 22 '13 12:08 jfigus

This should now be working in the feature-openssl branch. Please see the following commit: https://github.com/cisco/libsrtp/commit/500464233a2d4cc57c7aba9144ddc82bcf85914b

The steps to build the shared library are:

./configure --enable-openssl make libsrtp.so

jfigus avatar Oct 10 '13 12:10 jfigus

For those coming by an Internet search, the name of that target changed since version 1.5 (thanks to issue #100): ./configure --enable-openssl make shared_library sudo make install

traud avatar Jun 07 '16 12:06 traud