- libdb2.so.1: cannot open shared
- Tensorflow在Pycharm中报错 :找不到 libcu
- Ubuntu配置Tensorflow
- ImportError: libGL.so.1: cannot
- 导入tensorflow:ImportError: libcub
- ImportError: libcudart.so.7.0: c
- arm-linux-gcc不能再64位os下编译32位库的问题
- opencv ImportError: libSM.so.6:
- 安装好tensorflow之后控制台import tensorf
- 【原创】各种安装 No such file or directo
Got this error while deploying a Rails app on Nginx:
libdb2.so.1: cannot open shared object file: No such file or directory - ... ibm_db.so
This means that the ibm_db adapter is installed, but it can’t find the DB2 libraries. The issue is that IBM_DB_HOME and some other environment variables are not set.
The best solution is to make sure all users have db2profile loaded. Edit /etc/profile and add:
. /opt/dsdriver/db2profile
You should now reload your profile (. /etc/profile) and restart Nginx.
This assumes that you already have IBM Data Server Driver installed under /opt/dsdriver.
网友评论