libuuid.so: cannot open shared object file: No such file or directory

时间:2017-03-30 21:56:54   收藏:0   阅读:1527
在玩ngx-lua时候有个 resty-uuid  需要引用 libuuid.so 动态库
打印log提示信息是这样的:
libuuid.so: cannot open shared object file: No such file or directory

解决方案:
[root@iZwz9afh123bcjp3Z ~]#yum install libuuid libuuid-devel 
[root@iZwz9afh123bcjp3Z ~]#ln -s /lib64/libuuid.so.1.3.0 /usr/lib64/libuuid.so
[root@iZwz9afh123bcjp3Z ~]#ln -s /usr/lib64/libuuid.so /usr/local/openresty/lualib/resty/libuuid.so
[root@iZwz9afh123bcjp3Z ~]# ldconfig














 

原文:http://www.cnblogs.com/sixiong/p/6648366.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!