[root@iZbp1j690hvz1x9t0yq6ygZ soleTownServer]# ls
etc luaclib lualib service skynet start.sh
[root@iZbp1j690hvz1x9t0yq6ygZ soleTownServer]# sh start.sh
[skynet config]:17: ././etc/config.node: No such file or directory
[root@iZbp1j690hvz1x9t0yq6ygZ soleTownServer]#
start.sh
./skynet/skynet ./etc/config.node$1
如果这样
[root@iZbp1j690hvz1x9t0yq6ygZ soleTownServer]# ./skynet/skynet ./etc/config.node1
[:00000002] LAUNCH snlua bootstrap
[:00000002] lua loader error : error loading module 'skynet' from file './skynet/luaclib/skynet.so':
./skynet/luaclib/skynet.so: undefined symbol: luaopen_skynet
stack traceback:
[C]: in ?
[C]: in function 'require'
./skynet/service/bootstrap.lua:1: in local 'main'
./skynet/lualib/loader.lua:48: in main chunk
[:00000002] KILL self
start.sh
./skynet/skynet ./etc/config.node$1
如果这样