Skip to content

mysql Dockerfile doesn't compile #1

@Giancarlo1974

Description

@Giancarlo1974

I tried to build the Dockerfile

https://github.com/pockost/docker-proftpd/blob/master/mysql/Dockerfile.real

but i got this error:

mod_sql.c: In function 'sql_auth_openssl':
mod_sql.c:757:14: error: storage size of 'md_ctx' isn't known
EVP_MD_CTX md_ctx;
^~~~~~
mod_sql.c:757:14: warning: unused variable 'md_ctx' [-Wunused-variable]
make[1]: *** [Makefile:31: mod_sql.o] Error 1
make[1]: Leaving directory '/usr/local/proftpd/modules'
make: *** [Makefile:39: modules] Error 2
ERROR: Service 'proftpd' failed to build: The command '/bin/sh -c set -x && cd /usr/local/proftpd && sed -i 's/__mempcpy/mempcpy/g' lib/pr_fnmatch.c && ./configure --with-modules=mod_sql:mod_sql_mysql:mod_quotatab:mod_quotatab_sql:mod_sftp:mod_sftp_sql --with-includes=/usr/include/mysql/ && make' returned a non-zero code: 2

Can you help ne?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions