Welcome to LQ. .. ..
..
/usr/local/ is not default. usr/ is : /usr/lib , /usr/include.
Compiling a program, that needs openssl : First thing to do is :
1) su ; 2)
zypper in libopenssl-devel
.... to have the openssl developing files installed.
The command : 'rpm -ql <package-name>' will show the file locations.
$ rpm -ql libopenssl-devel : The files are in standard locations,
no need to tell 'configure', where to find the files.
That's an option to use, when the files are in a "non standard" place.
The command : rpm -qa | sort > installed-rpms
.. will save an alphabetic list with all installed packages,
so you can know their "package names".
..