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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- elf
- oracle ORA-01157: cannot identify/lock data file 64OracleIDE
- ## HTTP系列之Accept-Encoding和Content-EncodingHTTPEncoding
- [特徵工程] encoding特徵工程Encoding
- elf格式標準官方文件:https://refspecs.linuxbase.org/elf/elf.pdfHTTPLinux
- oracle 匯入報錯:field in data file exceeds maximum lengthOracle
- elf檔案格式
- Enhanced Invertible Encoding for Learned Image CompressionEncoding
- [HTTP] HTTP 協議 Response Header 之 Content-Length、Transfer-Encoding與Content-EncodingHTTP協議HeaderEncoding
- ELF檔案逆向分析
- MySQL啟動報錯InnoDB: The innodb_system data file './ibdata1' is of a differentMySql
- elf檔案處理工具
- 扒一扒ELF檔案
- but no encoding declared;問題的解決方法Encoding
- PostgreSQL DBA(103) - pgAdmin(Don't do this:Encoding)SQLEncoding
- Transformer中的位置編碼(Positional Encoding)ORMEncoding
- 用php讀取elf結構PHP
- mysql innodb_data_file_path引數忘記設定或者重新調整辦法MySql
- Docker 版本升級後提示 "graph" config file option is deprecated use "data-root" instead 問題Docker
- 手拆ELF(三,節區頭表)
- ELF檔案的四種分類
- 攻防世界 Reversing-x64Elf-100
- ERROR:Failed to load resource: net::ERR_INCOMPLETE_CHUNKED_ENCODINGErrorAIEncoding
- 連線DB2時出錯:encoding not supported??DB2Encoding
- Big Data and Data Warehousing
- cat > file << EOF 與 cat > file << -
- 目標檔案和ELF格式詳解
- 淺談被加殼ELF的除錯除錯
- ELF檔案中的各個節區
- ELF 格式簡述 - eBPF 基礎知識eBPF
- File
- [LeetCode] Short Encoding of Words 單詞集的短編碼LeetCodeEncoding
- 安裝benchmarksql報java:143: error: unmappable character for encoding ASCIISQLJavaErrorAPPEncodingASCII
- Redis 資料結構與物件編碼 (Object Encoding)Redis資料結構物件ObjectEncoding
- How to Convert Class File to Java File Online?Java
- elf,基於flexbox的響應式CSS框架FlexCSS框架
- dlopen程式碼詳解——從ELF格式到mmap
- 實現ELF檔案解析,支援-h, -S, -s