mirror of
https://github.com/ADD-SP/ngx_waf.git
synced 2026-04-26 22:15:55 +03:00
[GH-ISSUE #95] 编译问题 #70
Labels
No labels
MacOS
Nginx
OpenResty
Tengine
bug
documentation
enhancement
needs-investigation
pull-request
question
stale
stale
stale
timeout
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ngx_waf#70
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @skydeadpeng on GitHub (May 20, 2022).
Original GitHub issue: https://github.com/ADD-SP/ngx_waf/issues/95
centos7 tengine-2.2.1 make 的时候报错。
-lpthread -ldl -lcrypt -lpcre -lssl -lcrypto -ldl -lz
objs/addon/src/ngx_http_waf_module_core.o:在函数‘ngx_http_waf_init_process’中:
/usr/local/src/ngx_waf/src/ngx_http_waf_module_core.c:112:对‘randombytes_stir’未定义的引用
objs/addon/src/ngx_http_waf_module_util.o:在函数‘ngx_http_waf_rand_str’中:
/usr/local/src/ngx_waf/src/ngx_http_waf_module_util.c:485:对‘randombytes_uniform’未定义的引用
objs/addon/src/ngx_http_waf_module_util.o:在函数‘ngx_http_waf_sha256’中:
/usr/local/src/ngx_waf/src/ngx_http_waf_module_util.c:507:对‘crypto_hash_sha256’未定义的引用
/usr/local/src/ngx_waf/src/ngx_http_waf_module_util.c:508:对‘sodium_bin2hex’未定义的引用
collect2: 错误:ld 返回 1
make[1]: *** [objs/nginx] 错误 1
make[1]: 离开目录“/usr/local/src/tengine-2.2.1”
@ADD-SP commented on GitHub (May 22, 2022):
Solved