- Debian 9.5
- Apache HTTP Server 2.4.34 (httpd)
After installing Apache from the official page with
sudo make install, I want to check that the installation works starting the server:
$ sudo /usr/local/apache2/bin/apachectl -k start
But I get an error
/usr/local/apache2/bin/httpd: symbol lookup error: /usr/local/apache2/bin/httpd: undefined symbol: apr_crypto_init
Is the error related to the subject of libraries? What could it be?
The configuration that I made during the installation was:
$ sh configure --prefix /usr/local/apache2
If you need to attach screens, logs or installed libraries update the post to have more details.
I rebuilt httpd with a prefix of /usr/local
$ sh configure --prefix /usr/local $ sudo make install $ sudo /usr/local/bin/apachectl -k start
I recommend returning to the initial state of the virtual machine, so there are no residual libraries and files.