在安装Lsyncd 2.0.6 ./configure && make && make install过程期间,我收到一个未找到的错误。
gcc: /usr/lib/liblua.a: No such file or directory
make[1]: *** [lsyncd] Error 1我使用64位Ec2 Linux Ami,并检查了liblua.a是否存在于/usr/lib64/liblua.a中。
我该怎么办才能完成安装?
发布于 2012-03-13 08:39:25
lsyncd可以在EPEL中使用(如果您使用的是Amazon的linux,那么本质上就是RHEL):
$ yum info lsyncd
Loaded plugins: priorities, ps
Available Packages
Name : lsyncd
Arch : i686
Version : 2.0.4
Release : 1.el6.1
Size : 60 k
Repo : epel
Summary : File change monitoring and synchronization daemon
URL : http://code.google.com/p/lsyncd/
License : GPLv2+
Description : Lsyncd watches a local directory trees event monitor interface (inotify).
: It aggregates and combines events for a few seconds and then spawns one
: (or more) process(es) to synchronize the changes. By default this is
: rsync.
:
: Lsyncd is thus a light-weight live mirror solution that is comparatively
: easy to install not requiring new file systems or block devices and does
: not hamper local file system performance.这是2.0.4版。您可能希望继续使用此版本,让存储库人员管理修补程序、更新等。
如果您真的想在2.0.6上运行,您可以获取SRPM并使用tar文件2.0.6重新构建它,但是您应该记住,您将退出基于回购的软件包更新。另一方面,与使用./configure ; make ; make install相比,您将拥有某种类型的包管理,而且RPM规范文件将更好地处理构建期间的依赖关系。
https://serverfault.com/questions/369091
复制相似问题