Project

General

Profile

Error after compiling Lighttpd 1.4.53!!!!!

Added by henryweasley over 4 years ago

I've tried to updated my Lighttpd 1.4.48 server to 1.4.53, download the sources, untar, then:

./configure --with-openssl --with-openssl-libs=/usr/lib --with-pcre --with-zlib --with-bzip2 --disable-ipv6 --with-PACKAGE=mod_redirect --with-rewrite --with-redirect --with-ssi
make
make install
All good, but when I tried to start the service I've run into this problem:

2019-05-14 12:11:21: (plugin.c.229) dlopen() failed for: /usr/local/lib/mod_indexfile.so /usr/local/lib/mod_indexfile.so: undefined symbol: http_header_env_set
2019-05-14 12:11:21: (server.c.1141) loading plugins finally failed
Running exactly same steps for 1.4.48 installs and runs lighttpd 1.4.48 just fine, so I've reinstalled 1.4.48 for now but I will like to know what could be the potential cause for this.

I have the following modules loaded in my conf:

server.modules = (
"mod_expire",
"mod_access",
"mod_alias",
"mod_compress",
"mod_redirect",
"mod_rewrite",
"mod_accesslog",
"mod_setenv",
"mod_status",
"mod_openssl"
)
I'm running this on an Ubuntu 16.04 LTS

Thanks.


Replies (1)

RE: Error after compiling Lighttpd 1.4.53!!!!! - Added by gstrauss over 4 years ago

The punctuation characters on your keyboard appear to be stuck. They repeat for no good reason. Do you have a problem with your keyboard?

but I will like to know what could be the potential cause for this.

Likely scenarios:
a) you did not build what you thought you built
b) you did not install what you thought you installed into the place you thought you installed it
c) you are not running what you think you are running from the place you think you are running it

To get a symbol mismatch like that, you might be running an old lighttpd binary after overwriting the .so modules with version which require a newer lighttpd binary.

    (1-1/1)