Heroku Buildpack错误:无法打开库'opencc'

时间:2019-01-06 08:11:45

标签: heroku buildpack

主要遵循此enter image description here,尝试为OpenCC创建Heroku构建包。以下是我在github上的二进制文件和buildpack:

tutorial

https://github.com/echan00/opencc-binary

推送到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

1 个答案:

答案 0 :(得分:0)

通过添加指向库的config var或环境变量LD_LIBRARY_PATH解决了该问题