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


在玩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














 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM