本文介绍了Heroku Buildpack错误:无法打开库'opencc'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
尝试创建OpenCC的Heroku构建包,主要遵循以下
推送到Heroku时出现错误:
I am getting an error when pushing to Heroku:
remote: LoadError: Could not open library 'opencc': opencc: cannot open shared object file: No such file or directory.
remote: Could not open library 'libopencc.so': libopencc.so: cannot open shared object file: No such file or directory
推荐答案
通过添加配置变量或指向库的环境变量LD_LIBRARY_PATH解决了该问题
Solved this by adding config var or environment variable LD_LIBRARY_PATH pointing to the library
这篇关于Heroku Buildpack错误:无法打开库'opencc'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!