Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

help request: install apisix-3.11.0 failed. #11882

Open
13723778149 opened this issue Jan 2, 2025 · 3 comments
Open

help request: install apisix-3.11.0 failed. #11882

13723778149 opened this issue Jan 2, 2025 · 3 comments
Labels
question label for questions asked by users

Comments

@13723778149
Copy link

13723778149 commented Jan 2, 2025

Description

[root@localhost apisix-3.11.0]# make deps
Wrote
variables.OPENSSL_LIBDIR = "/usr/local/openresty/openssl3/lib"
to
/root/.luarocks/config-5.1.lua
Wrote
variables.OPENSSL_INCDIR = "/usr/local/openresty/openssl3/include"
to
/root/.luarocks/config-5.1.lua
Wrote
variables.YAML_DIR = "/usr"
to
/root/.luarocks/config-5.1.lua
Missing dependencies for apisix master-0:
lualdap 1.2.6-1 (not installed)
lua-resty-rocketmq 0.3.0-0 (not installed)
opentelemetry-lua 0.2-3 (not installed)
net-url 0.9-1 (not installed)
xml2lua 1.5-2 (not installed)
nanoid 0.1-1 (not installed)
lua-resty-mediador 0.1.2-1 (not installed)
lua-resty-ldap 0.1.0-0 (not installed)
lua-resty-t1k 1.1.5 (not installed)
brotli-ffi 0.3-1 (not installed)
lua-ffi-zlib 0.6-0 (not installed)
api7-lua-resty-aws 2.0.1-1 (not installed)

apisix master-0 depends on lua-resty-ctxdump 0.1-0 (0.1-0 installed)
apisix master-0 depends on lyaml 6.2.8 (6.2.8-1 installed)
apisix master-0 depends on api7-lua-resty-dns-client 7.0.1 (7.0.1-0 installed)
apisix master-0 depends on lua-resty-template 2.0 (2.0-1 installed)
apisix master-0 depends on lua-resty-etcd 1.10.5 (1.10.5-0 installed)
apisix master-0 depends on api7-lua-resty-http 0.2.2-0 (0.2.2-0 installed)
apisix master-0 depends on lua-resty-balancer 0.04 (0.04-0 installed)
apisix master-0 depends on lua-resty-ngxvar 0.5.2 (0.5.2-0 installed)
apisix master-0 depends on lua-resty-jit-uuid 0.0.7 (0.0.7-2 installed)
apisix master-0 depends on lua-resty-worker-events 1.0.0 (1.0.0-1 installed)
apisix master-0 depends on lua-resty-healthcheck-api7 3.2.0 (3.2.0-0 installed)
apisix master-0 depends on api7-lua-resty-jwt 0.2.5 (0.2.5-0 installed)
apisix master-0 depends on lua-resty-hmac-ffi 0.06-1 (0.06-1 installed)
apisix master-0 depends on lua-resty-cookie 0.2.0-1 (0.2.0-1 installed)
apisix master-0 depends on lua-resty-session 3.10 (3.10-1 installed)
apisix master-0 depends on opentracing-openresty 0.1 (0.1-0 installed)
apisix master-0 depends on lua-resty-radixtree 2.9.1 (2.9.1-0 installed)
apisix master-0 depends on lua-protobuf 0.5.2-1 (0.5.2-1 installed)
apisix master-0 depends on lua-resty-openidc 1.7.6-3 (1.7.6-3 installed)
apisix master-0 depends on luafilesystem 1.7.0-2 (1.7.0-2 installed)
apisix master-0 depends on nginx-lua-prometheus-api7 0.20240201-1 (0.20240201-1 installed)
apisix master-0 depends on jsonschema 0.9.8 (0.9.8-0 installed)
apisix master-0 depends on lua-resty-ipmatcher 0.6.1 (0.6.1-0 installed)
apisix master-0 depends on lua-resty-kafka 0.23-0 (0.23-0 installed)
apisix master-0 depends on lua-resty-logger-socket 2.0.1-0 (2.0.1-0 installed)
apisix master-0 depends on skywalking-nginx-lua 1.0.1 (1.0.1-0 installed)
apisix master-0 depends on base64 1.5-2 (1.5-2 installed)
apisix master-0 depends on binaryheap 0.4 (0.4-1 installed)
apisix master-0 depends on api7-dkjson 0.1.1 (0.1.1-0 installed)
apisix master-0 depends on resty-redis-cluster 1.05-1 (1.05-1 installed)
apisix master-0 depends on lua-resty-expr 1.3.2 (1.3.2-0 installed)
apisix master-0 depends on graphql 0.0.2 (0.0.2-1 installed)
apisix master-0 depends on argparse 0.7.1-1 (0.7.1-1 installed)
apisix master-0 depends on luasocket 3.1.0-1 (3.1.0-1 installed)
apisix master-0 depends on luasec 1.3.2-1 (1.3.2-1 installed)
apisix master-0 depends on lua-resty-consul 0.3-2 (0.3-2 installed)
apisix master-0 depends on penlight 1.13.1 (1.13.1-1 installed)
apisix master-0 depends on ext-plugin-proto 0.6.1 (0.6.1-0 installed)
apisix master-0 depends on casbin 1.41.9-1 (1.41.9-1 installed)
apisix master-0 depends on inspect 3.1.1 (3.1.1-0 installed)
apisix master-0 depends on lualdap 1.2.6-1 (not installed)

Error: Could not satisfy dependency lualdap 1.2.6-1: No results matching query were found for Lua 5.1.
make: *** [deps] Error 1
[root@localhost apisix-3.11.0]# lua -v
Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio

[root@localhost apisix-3.11.0]# uname -a
Linux localhost.localdomain 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

[root@localhost apisix-3.11.0]# luarocks --version
/usr/local/bin/luarocks 3.8.0
LuaRocks main command-line interface

[root@localhost apisix-3.11.0]# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)

Environment

  • APISIX version (run apisix version):
  • Operating system (run uname -a):
  • OpenResty / Nginx version (run openresty -V or nginx -V):
  • etcd version, if relevant (run curl http://127.0.0.1:9090/v1/server_info):
  • APISIX Dashboard version, if relevant:
  • Plugin runner version, for issues related to plugin runners:
  • LuaRocks version, for installation issues (run luarocks --version):
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Apache APISIX backlog Jan 2, 2025
@dosubot dosubot bot added the question label for questions asked by users label Jan 2, 2025
@13723778149
Copy link
Author

[root@localhost lualdap-1.2.6]# make
gcc -O2 -fPIC -std=c89 -pedantic -Wall -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -I/usr/include/lua5.1 -I/usr/include -I/usr/include -DLUA_C89_NUMBERS -c -o src/lualdap.o src/lualdap.c
gcc -O2 -fPIC -std=c89 -pedantic -Wall -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -o src/lualdap.so -shared src/lualdap.o -L/usr/lib -L/usr/lib -lldap -L/usr/lib -llber
[root@localhost lualdap-1.2.6]# make install
install -d /usr/lib/lua/5.1
install src/lualdap.so /usr/lib/lua/5.1

再次对apisix安装,make deps执行后,还是会提示“Error: Could not satisfy dependency lualdap 1.2.6-1: No results matching query were found for Lua 5.1.”

@13723778149
Copy link
Author

我已经修改了apisix-master-0.rockspec文件,将"lualdap = 1.2.6-1" 修改为"lualdap = 1.4.0" ,make deps执行后,正常了。不确定会有什么影响,您能知道吗?

@wklken
Copy link

wklken commented Jan 4, 2025

https://luarocks.org/modules/fperrad/lualdap

because the 1.2.6-1 was Archived.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question label for questions asked by users
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants