python libclntsh.so.12.1: cannot open shared object file
手工執行python程式可以,但在執行定時任務過程中遇到如下錯誤
libclntsh.so.12.1: cannot open shared object file: No such file or directory
解決:
1、環境變數配置。LD_LIBRARY_PATH需要把oracle的庫路徑加進去。
2、把環境變數改了還不行,需要:
vi /etc/ld.so.conf
在末尾加入一行
/usr/lib/oracle/12.2/client64/lib
3、執行:ldconfig
問題解決。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29802484/viewspace-2151866/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- libmysqlclient.so.16: cannot open shared object file: No such file or directoryIBMMySqlclientObject
- ImportError: libffi.so.7: cannot open shared object file: No such file or directoryImportErrorObject
- libcudart.so.8.0: cannot open shared object file解決方案DartObject
- 呼叫torchtext報錯OSError: libtorch_cpu.so: cannot open shared object file: No such file or directoryErrorObject
- ./XXX.XX: error while loading shared libraries: libGLEW.so.2.1: cannot open shared object file: NoErrorWhileObject
- CentOS7提示 libsasl2.so.2: cannot open shared object fileCentOSObject
- rpm: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such fi...ErrorWhileGCObject
- error while loading shared libraries: libpython3.7m(2.7).so.1.0: cannot open shared object file: NErrorWhilePythonObject
- inplace-abn 報錯解決: ImportError: libcudart.so.9.0: cannot open shared object file: No such file or dirImportErrorDartObject
- error while loading shared libraries: libgsl.so.27: cannot open shared objectErrorWhileObject
- Nginx安裝啟動過程報錯libpcre.so.1 cannot open shared object file: No such file or directoryNginxObject
- conda環境下ImportError: libmkl_intel_lp64.so.1: cannot open shared object file問題解決ImportErrorIBMIntelObject
- 影片匯聚平臺EasyCVR啟動出現報錯“cannot open shared object file”的原因排查與解決VRObject
- Error while loading shared libraries: libreadline.so.7: cannot open shared objecErrorWhileOBJ
- cannot instantiate QtProjectEngine objectQTProjectObject
- “no source“: Error: #5: cannot open source input file “C:\Users\xxx\AppData\Local\Temp\p4228: PermiErrorAPP
- 解決GD32新建工程時提示:cannot open source input file “RTE_Components.h“
- Can't open file: (errno: 24)
- WPF open image and print as pdf file
- iostat -n來統計NFS讀寫資訊時碰到了Cannot open /proc/self/mountstats: No such file or directoryiOSNFS
- 解決“su: cannot open session: Permission denied”Session
- virt-manager cannot open display問題
- open_basedir() restrictijon in effect. FIle()REST
- Linux open file與 fs-maxLinux
- cannot find trajectory file at ./examples/trajectory.txt
- [20181214]open file using O_DIRECT.txt
- iis 0x80070032 Cannot read configuration file because it exceeds the maximum file size
- Python判斷物件是否為檔案物件(file object)的三種方法Python物件Object
- ulimit: core file size: cannot modify limit: Operation not permittedMIT
- object dict cannot be used in await expression報錯解釋ObjectAIExpress
- oracle ORA-01157: cannot identify/lock data file 64OracleIDE
- The number of method references in a .dex file cannot exceed 64K.
- cannot use '/dev/da1': must be a block device or regular filedevBloC
- tar (child): bzip2: Cannot exec: No such file or directory 報錯
- OPatch cannot find a valid oraInst.loc file to locate Central InventoryAI
- TypeError: Cannot read private member xxx from an object whose class did not declare itErrorObject
- [20200212]使用DBMS_SHARED_POOL.MARKHOT與檢視v$open_cursor.txt
- 【問題處理】ORA-00376 file xx cannot be read at this time