Howdy, folks. I'm working with a customer that needs PJSIP and Asterisk. So, I've grabbed the current SVN Trunk (revision 5143) for PJSIP and then used: touch pjlib/include/pj/config_site.h ./configure \ --enable-shared \ --disable-sound --disable-video \ --disable-resample \ --disable-opencore-amr \ --prefix=/usr \ CFLAGS='-O2 -DNDEBUG' The machine is Ubuntu 14.04.2 LTS, with all current package updates applied. However, when I compile, I wind up with *static* libraries. This, of course, is "Thou Art Doomed" for use with Asterisk 13.x. It segfaults out every time on device registration. I've been picking at this all day, searching blog sites, etc, to try and figure out what I am doing wrong here. # grep 'shared' config.log aconfigure:5693: result: Building shared libraries... yes aconfigure:6514: result: Building libresample as shared library... no ac_shared_libraries='1' So the command line arguments to "configure" are being parsed, but: # ldconfig && ldconfig -p | grep pj libpjsua2.so.2 (libc6,x86-64) => /usr/lib/libpjsua2.so.2 libpjsua2.so (libc6,x86-64) => /usr/lib/libpjsua2.so libpjsua.so.2 (libc6,x86-64) => /usr/lib/libpjsua.so.2 libpjsua.so (libc6,x86-64) => /usr/lib/libpjsua.so libpjsip.so.2 (libc6,x86-64) => /usr/lib/libpjsip.so.2 libpjsip.so (libc6,x86-64) => /usr/lib/libpjsip.so libpjsip-ua.so.2 (libc6,x86-64) => /usr/lib/libpjsip-ua.so.2 libpjsip-ua.so (libc6,x86-64) => /usr/lib/libpjsip-ua.so libpjsip-simple.so.2 (libc6,x86-64) => /usr/lib/libpjsip-simple.so.2 libpjsip-simple.so (libc6,x86-64) => /usr/lib/libpjsip-simple.so libpjnath.so.2 (libc6,x86-64) => /usr/lib/libpjnath.so.2 libpjnath.so (libc6,x86-64) => /usr/lib/libpjnath.so libpjmedia.so.2 (libc6,x86-64) => /usr/lib/libpjmedia.so.2 libpjmedia.so (libc6,x86-64) => /usr/lib/libpjmedia.so libpjmedia-videodev.so.2 (libc6,x86-64) => /usr/lib/libpjmedia-videodev.so.2 libpjmedia-videodev.so (libc6,x86-64) => /usr/lib/libpjmedia-videodev.so libpjmedia-codec.so.2 (libc6,x86-64) => /usr/lib/libpjmedia-codec.so.2 libpjmedia-codec.so (libc6,x86-64) => /usr/lib/libpjmedia-codec.so libpjmedia-audiodev.so.2 (libc6,x86-64) => /usr/lib/libpjmedia-audiodev.so.2 libpjmedia-audiodev.so (libc6,x86-64) => /usr/lib/libpjmedia-audiodev.so libpjlib-util.so.2 (libc6,x86-64) => /usr/lib/libpjlib-util.so.2 libpjlib-util.so (libc6,x86-64) => /usr/lib/libpjlib-util.so libpj.so.2 (libc6,x86-64) => /usr/lib/libpj.so.2 libpj.so (libc6,x86-64) => /usr/lib/libpj.so Aug 4 13:11:01 switch2 kernel: [343362.021810] asterisk[4611]: segfault at c ip 00007f6a55ee1d54 sp 00007f6a9b608010 error 4 in res_hep_pjsip.so[7f6a55eb4000+45000] ... the folks over in the Asterisk world who know PJSIP tell me that this is a clear indicator that it's static libraries. I've run "make uninstall" and then manually deleted any libraries that LD could see to ensure nothing "old" was hanging around, but that did not remedy the issue. Can anyone point me in the right direction here for getting Shared Libraries to be compiled? -- *--Michel R Vaillancourt, **Phone Systems Rocketeer and CEO* *JKL-5 Groupe Inc.: "The center of your telephony service needs"* V: +1.902-200-1245 F: +1.902-201-6916 michel at jkl5group.com http://www.jkl5group.com Find us on Facebook <http://www.facebook.com/pages/JKL-5-Groupe-Inc/138658849488954> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20150804/53c2c355/attachment.html>