You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/09/03 10:23:18 UTC

[GitHub] [apisix] idbeta opened a new issue #2161: bug: After the 1.5Rpm package was installed in centos7.6(ARM64), an error was occurred

idbeta opened a new issue #2161:
URL: https://github.com/apache/apisix/issues/2161


   ### Issue description
   After the 1.5Rpm package was installed in centos7.6(ARM64), an error was occurred
   [root@ecs-9148 ~]# apisix start
   nginx: [error] init_by_lua error: error loading module 'lfs' from file '/usr/local/apisix//deps/lib/lua/5.1/lfs.so':
   	/usr/local/apisix//deps/lib/lua/5.1/lfs.so: cannot open shared object file: No such file or directory
   stack traceback:
   	[C]: at 0xffffa561c9b8
   	[C]: in function 'require'
   	/usr/local/apisix/apisix/core/request.lua:18: in main chunk
   	[C]: in function 'require'
   	/usr/local/apisix/apisix/core.lua:30: in main chunk
   	[C]: in function 'require'
   	/usr/local/apisix/apisix/init.lua:18: in main chunk
   	[C]: in function 'require'
   	init_by_lua:3: in main chunk
   
   ### Environment
   
   * apisix version (cmd: `apisix version`): 1.5
   * OS: centos7.6(ARM64)


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] membphis commented on issue #2161: bug: After the 1.5Rpm package was installed in centos7.6(ARM64), an error was occurred

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #2161:
URL: https://github.com/apache/apisix/issues/2161#issuecomment-740678726


   ![image](https://user-images.githubusercontent.com/6814606/101501547-d70b5600-39aa-11eb-900e-f9d82d78984f.png)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] spacewander closed issue #2161: bug: After the 1.5Rpm package was installed in centos7.6(ARM64), an error was occurred

Posted by GitBox <gi...@apache.org>.
spacewander closed issue #2161:
URL: https://github.com/apache/apisix/issues/2161


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] Fuchange commented on issue #2161: bug: After the 1.5Rpm package was installed in centos7.6(ARM64), an error was occurred

Posted by GitBox <gi...@apache.org>.
Fuchange commented on issue #2161:
URL: https://github.com/apache/apisix/issues/2161#issuecomment-740444230


   when I build apisix-2.1 rpm package and run at openEuler 20.09 on ARM , I got the same erro.
   
   This is because the file is builded on x86_ 64 system .(The path is different because I use lua 5.3 .)
   
   ```bash
   # file /usr/local/apisix//deps/lib/lua/5.3/lfs.so
   /usr/local/apisix//deps/lib/lua/5.3/lfs.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=d4d35b43c6d757f2ff09619b75eae20bdbea78bd, not stripped
   ```
   I think it's a bug for [build-tools/run.sh](https://github.com/api7/build-tools/blob/master/run.sh) , 
   
   you can fix it temporary by run cmd: `yum install lua-filesystem` to overwrite it.
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] spacewander commented on issue #2161: bug: After the 1.5Rpm package was installed in centos7.6(ARM64), an error was occurred

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #2161:
URL: https://github.com/apache/apisix/issues/2161#issuecomment-759349659


   Solved since 2.2


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org