我尝试为我们的校园安装一个 http 流媒体服务器的 loomiere 实例。所需组件的编译运行良好,没有任何错误。
- Lua(5.1) ............ _http://www.lua.org/
- Luarocks ............ _http://www.luarocks.org/
- alt-getopt ...... _http://luaforge.net/projects/alt-getopt/
- lpeg ............ _http://www.inf.puc-rio.br/~roberto/lpeg/lpeg.html
- luabitop ........ _http://bitop.luajit.org/
- lua-ev .......... _http://github.com/brimworks/lua-ev
- lrexlib-pcre .... _http://lrexlib.luaforge.net/
- luasocket ....... _http://w3.impa.br/~diego/software/luasocket/
- LibEV ............... _http://software.schmorp.de/pkg/libev.html
- PCRE ................ _http://www.pcre.org
- TokyoCabinet ........ _http://fallabs.com/tokyocabinet/
在运行 loomiere 可执行文件时,我收到以下错误:
[root@mediakescher-01 loomiere]# ./run
Loomiere (HTTP streaming server) version 2.0.1-beta.
Copyright (C)2010 PaloÅ & Sons. All rights reserved.
PANIC: unprotected error in call to Lua API (error loading module 'rex_pcre' from file '/usr/local/lib/lua/5.1/rex_pcre.so':
/usr/local/lib/lua/5.1/rex_pcre.so: undefined symbol: lua_getmetatable)
[root@mediakescher-01 loomiere]#
模块 rex_pcre 是使用 luarocks install 函数安装的。我发现一些提示动态链接器配置不正确。由于将模块安装为岩石,我无法更改安装行为。
我能做些什么来解决这个问题?