[GH-ISSUE #62] uthash 版本适配 #178

Closed
opened 2026-03-13 16:46:15 +03:00 by kerem · 1 comment
Owner

Originally created by @purplegrape on GitHub (Sep 16, 2021).
Original GitHub issue: https://github.com/ADD-SP/ngx_waf/issues/62

环境:CentOS7
版本:ngx_waf 6.1.4

来自EPEL的软件包 uthash-devel 版本过低,无法编译通过,提示找不到uthash
手动下载uthash 2.3.0 ,将.h 头文件覆盖到/usr/include 下恢复正常,编译通过。

建议适配 uthash 2.0.x 或者参考libinjection的处理方式,放入源码的某个位置,比如inc/uthash

http://mirrors.ustc.edu.cn/epel/7/x86_64/Packages/u/uthash-devel-2.0.2-1.el7.noarch.rpm

Originally created by @purplegrape on GitHub (Sep 16, 2021). Original GitHub issue: https://github.com/ADD-SP/ngx_waf/issues/62 环境:CentOS7 版本:ngx_waf 6.1.4 来自EPEL的软件包 uthash-devel 版本过低,无法编译通过,提示找不到uthash 手动下载uthash 2.3.0 ,将.h 头文件覆盖到/usr/include 下恢复正常,编译通过。 建议适配 uthash 2.0.x 或者参考libinjection的处理方式,放入源码的某个位置,比如inc/uthash http://mirrors.ustc.edu.cn/epel/7/x86_64/Packages/u/uthash-devel-2.0.2-1.el7.noarch.rpm
kerem 2026-03-13 16:46:15 +03:00
Author
Owner

@ADD-SP commented on GitHub (Sep 23, 2021):

感谢提醒,已经自 v9.0.0 起从 lib 目录加载 uthash

<!-- gh-comment-id:925866164 --> @ADD-SP commented on GitHub (Sep 23, 2021): 感谢提醒,已经自 v9.0.0 起从 `lib` 目录加载 `uthash`。
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ngx_waf#178
No description provided.