Installing v22 on Linux Mint 22

Previous posting
This posting pointed me in the right direction to succeed in installing Asterisk 22 on Mint 22. Dot-slash configure was looking for OpenSSL and found it only when libssl-dev was installed. That paved the way for proper loading of res-pjsip.so module which in turn paved the way for proper loading of the other 50 or so modules that depended on it. This wasn’t the only sticky spot I encountered, but it was the most mysterious.

General tip: if trying to build from source something that is already offered for your distro as a package (but which you don’t want to use because it’s too old or lacks features etc), you can install any needed dependencies for the package version with

apt-get build-dep package-name

(Or equivalent for your distro’s package manager). These may not exactly coincide with the necessary dependencies for the version you want to build, but most of the core ones should be there.