The “network.c:483: error: ‘EC_KEY’ undeclared” error is caused by a missing library or header file that is necessary for the Lighttpd web server to function properly. To resolve this issue, you will need to install the OpenSSL library and its development headers on your system.
On Ubuntu or Debian systems, you can install the necessary packages by running the following command:
sudo apt-get install libssl-dev
On Red Hat or Fedora systems, you can use the following command:
sudo yum install openssl-devel
Once the OpenSSL development headers are installed, you will need to re-compile Lighttpd in order for it to include the necessary files.
You should also check the version of Lighttpd and Openssl should be compatible.