ELF file data encoding not little-endian
一、問題. 執行python 程式 報錯: ELF file data encoding not little-endian
python3 conn_oracle.py Traceback (most recent call last):
File "conn_oracle.py", line 12, in <module>
oracle_conn = cx_Oracle.connect(conn_str)
cx_Oracle.DatabaseError: DPI-1047: Cannot locate a 64-bit Oracle Client library: "/opt/instantclient_11_2/libclntsh.so: ELF file data encoding not little-endian". See for help
二、分析
剛開始一頭霧水,網上搜尋了一圈也沒有答案。後來猛然醒悟,原來是位元組序(Endian),大端(Big-Endian),小端(Little-Endian ,原來我在linux 平臺下載了 power z linux 系統的so 動態檔案, power z linux 才有big endian,linux ,x86 採用 little endian 。對應平臺下載錯誤了,趕緊下載對應平臺的
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30393770/viewspace-2762013/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- HP -Data Protector Restore file systemREST
- elf
- sqlldr Field in data file exceeds maximum lengthSQL
- data file int write和db file sequential read個人想法
- Unload data to a flat file from Oracle databaseOracleDatabase
- /lib/ld-linux.so.2: bad ELF interpreter: No such file or directoryLinux
- elf格式標準官方文件:https://refspecs.linuxbase.org/elf/elf.pdfHTTPLinux
- HP -Data Protector Restore file system【Blog 搬家】REST
- [轉載]Oracle等待事件Data file init writeOracle事件
- Java解析ELF檔案:ELF檔案格式規範Java
- oracle10g 資料檔案頭data file header(file header)OracleHeader
- GoldenGate replication using a data definition file and DEFGEN utilityGo
- Big-Endian Little-Endian
- elf檔案格式
- [Encoding]How to do proper encoding output redirection on cmd.exe?Encoding
- [特徵工程] encoding特徵工程Encoding
- The innodb_system data file 'ibdata1' must be writable
- oracle 匯入報錯:field in data file exceeds maximum lengthOracle
- 【蓋國強】Oracle Wait Event:Data file init writeOracleAI
- ## HTTP系列之Accept-Encoding和Content-EncodingHTTPEncoding
- ELF檔案逆向分析
- MySQL資料匯入匯出之Load data fileMySql
- little-endian VS. big-endian
- ORA-01157: cannot identify/lock data file %s - see DBWR trace file的處理IDE
- sqlldr匯入資料包錯 Field in data file exceeds maximum lengthSQL
- [20130409]Data file init write等待事件.txt事件
- ORA-03297: file contains used data beyond requested RESIZE valueAI
- 扒一扒ELF檔案
- elf檔案處理工具
- PEM (Privacy Enhanced Mail) EncodingAIEncoding
- 關於Encoding問題Encoding
- mysql錯誤: [ERROR] InnoDB: auto-extending data file /data/ibdata1 is of a different size 768 pages...MySqlError
- oracle ORA-01157: cannot identify/lock data file 64OracleIDE
- Clone Madison 12R TEST application with customized data file locationAPPZed
- 用php讀取elf結構PHP
- Braves the Pocket Elf trial activity on the line
- HDU 1020 EncodingEncoding
- ORA-01565: error in identifying file '+DATA/devdb/spfiledevdb.ora'ErrorIDEdev