Welcome to Centmin Mod Community
Become a Member

Stable Branch fix menu 17 zstd install, system libzstd override and PHP zstd extens…

Discussion in 'Centmin Mod Github Commits' started by eva2000, Nov 24, 2026 at 4:04 PM.

  1. eva2000

    eva2000 Administrator Staff Member

    60,620
    12,635
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,302
    Local Time:
    8:48 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    fix menu 17 zstd install, system libzstd override and PHP zstd extension bundled zstd version in 132.00stable

    inc/zstd_nginx.inc defined its own zstdinstall() and was sourced after
    inc/compress.inc, so menu 17, zstd logrotate and the PHP zstd extension built
    zstd into /usr/local/nginx-dep and never installed /usr/local/bin/zstd. The
    compress.inc install also ran the full zstd "make install", which puts a shared
    libzstd in /usr/local/lib; /etc/ld.so.conf.d/wget.conf lists that directory,
    so system programs such as rpm would load it instead of the OS libzstd. The
    PHP zstd extension built the zstd copy bundled with php-ext-zstd (1.5.7)
    instead of ZSTD_VER.

    Changes:
    - rename the nginx zstd dependency installer to nginx_zstdinstall
    - zstdinstall: build and install only the zstd command line tools, which have
    libzstd built in
    - zstdinstall: remove the libzstd library and headers an older install left in
    /usr/local when the OS provides libzstd.so.1, then run ldconfig
    - php_ext_zstd: build the bundled zstd from the ZSTD_VER release tag, falling
    back to the submodule version if the checkout fails

    Continue reading...


    132.00stable branch