Project

General

Profile

[UE] Error after compiling Lighttpd 1.4.53

Added by borconi almost 5 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 almost 5 years ago

http_header_env_set is part of lighttpd since lighttpd 1.4.51.

You have a bad build or a bad path to find module path.

Did you build from a clean directory?

Did you remove the previous installation before installing the new one? It sounds like you're running an older lighttpd binary with newer .so modules, which will not work.

    (1-1/1)