libasteriskpj.so and libasteriskpj.so.2 should NOT be in /usr/lib/x86_64-linux-gnu when installing from source. I suspect that you installed asterisk from distro packages at one point but either didn’t uninstall or maybe the uninstall didn’t clean up correctly. Stop asterisk, delete those 2 files in /usr/lib/x86_64-linux-gnu/, run sudo ldconfig, then restart asterisk and see if that helps.
1 Like