您好,急速安装也不大型,然后 ngnix1.25 急速安装也都是失败的。
会报一个链接库的问题
/bin/ld: /usr/local/lib/libjemalloc.so: undefined reference to `tcache_bin_flush_small'
/bin/ld: /usr/local/lib/libjemalloc.so: undefined reference to `tcache_prefork'
/bin/ld: /usr/local/lib/libjemalloc.so: undefined reference to `tcache_postfork_child'
/bin/ld: /usr/local/lib/libjemalloc.so: undefined reference to `tcache_postfork_parent'
/bin/ld: /usr/local/lib/libjemalloc.so: undefined reference to `tcache_bin_flush_large'
/bin/ld: /usr/local/lib/libjemalloc.so: undefined reference to `tcache_arena_reassociate'
/bin/ld: /usr/local/lib/libjemalloc.so: undefined reference to `nhbins'
/bin/ld: /usr/local/lib/libjemalloc.so: undefined reference to `tcache_event_hard'
/bin/ld: /usr/local/lib/libjemalloc.so: undefined reference to `tcaches'
/bin/ld: /usr/local/lib/libjemalloc.so: undefined reference to `tcache_bin_info'
/bin/ld: /usr/local/lib/libjemalloc.so: undefined reference to `tcache_arena_associate'
/bin/ld: /usr/local/lib/libjemalloc.so: undefined reference to `tcache_alloc_small_hard'
/bin/ld: /usr/local/lib/libjemalloc.so: undefined reference to `opt_tcache'
/bin/ld: /usr/local/lib/libjemalloc.so: undefined reference to `opt_lg_tcache_max'
/bin/ld: /usr/local/lib/libjemalloc.so: undefined reference to `tcache_boot'
/bin/ld: /usr/local/lib/libjemalloc.so: undefined reference to `tcache_create_explicit'
/bin/ld: /usr/local/lib/libjemalloc.so: undefined reference to `tcache_maxclass'
/bin/ld: /usr/local/lib/libjemalloc.so: undefined reference to `tcache_stats_merge'
这是我手动安装 libjemalloc2 后的报错,Ubuntu24的默认源不存在 libjemalloc。
无论是急速安装还是编译安装都会最终遇到这个问题。
我最终成功编译安装了1.24,但还是希望您这边能给出高版本 ngnix 的方案,因为我们在短期未来可能要考虑支持 http3。 |