未能链接Rlm\u python.s

2024-10-05 12:27:19 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在使用freeradius 3.0.13并尝试创建一个python模块。我通过这个链接rlm_python来验证freeradius。但当我在调试模式下启动freeradius时,出现了一些与python相关的错误。你知道吗

通过输入命令radiusd-X,会出现以下错误:

/etc/raddb/mods-enabled/python[10]: Failed to link to module 'rlm_python': /usr/lib64/freeradius/rlm_python.so: cannot open shared object file: No such file or directory`

我遵循这个堆栈溢出答案rlm_python.so 但没有解决我的问题,还是一样的问题。我是freeradius的新手,所以什么是包含所有python包以链接python模块的正确方法呢。在mods available/python中,我尝试了三种不同的路径,但问题相同。你知道吗

python_path = ${modconfdir}/${.:name}

python_path= "/etc/raddb/mods-config/python/"

python_path= "/etc/raddb/mods-config/python/:/usr/lib64/python2.7

我哪里做错了?用什么正确的方法将python模块与freeradius链接?你知道吗

是的。你知道吗


Tags: 模块topath方法modsso链接usr

热门问题