主要遵循此,尝试为OpenCC创建Heroku构建包。以下是我在github上的二进制文件和buildpack:
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
答案 0 :(得分:0)
通过添加指向库的config var或环境变量LD_LIBRARY_PATH解决了该问题