All,<div><br></div><div>I am experiencing this same issue. it seems that you were able to resolve it offline. Could you by any chance post the solution.</div><div><br></div><div><div>telephonics1*CLI> module load app_swift.so</div>
<div>Unable to load module app_swift.so</div><div>Command 'module load app_swift.so' failed.</div><div>[Aug 1 05:01:01] WARNING[28635]: loader.c:458 load_dynamic_module: Error loading module 'app_swift.so': /usr/lib/asterisk/modules/app_swift.so: undefined symbol: swift_port_close</div>
<div>[Aug 1 05:01:01] WARNING[28635]: loader.c:848 load_resource: Module 'app_swift.so' could not be loaded.</div><div>telephonics1*CLI> </div></div><div><br></div><div>I suspect an issue when linking app_swift.so. Here is how the module is linked:</div>
<div><br></div><div>gcc -shared -Xlinker -x -o app_swift.so -L/opt/swift/lib -L/usr/lib -lswift -lceplang_en -lceplex_us app_swift.o</div><div><br></div><div>However, ldd shows the module doesn't list libswift.so as a dependency:</div>
<div><br></div><div><div># ldd app_swift.so </div><div><span class="Apple-tab-span" style="white-space:pre">        </span>linux-vdso.so.1 => (0x00007fff2bbff000)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7cb005e000)</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>/lib64/ld-linux-x86-64.so.2 (0x00007f7cb0631000)</div></div><div><br></div><div>It appears the libswift.so is build correctly and does export the swift_port_close function:</div>
<div><br></div><div><div># readelf -s libswift.so | grep port_close</div><div> 619: 000000000006ac00 23 FUNC GLOBAL DEFAULT 10 swift_port_close_output</div><div> 941: 000000000006aec0 224 FUNC GLOBAL DEFAULT 10 swift_port_close</div>
<div> 1025: 000000000006aec0 224 FUNC GLOBAL DEFAULT 10 swift_port_close</div><div> 2082: 000000000006ac00 23 FUNC GLOBAL DEFAULT 10 swift_port_close_output</div></div><div><br></div><div>Any help would be appreciated.</div>
<div><br></div><div>Thanks,</div><div>Doug Seifert</div>