Re: [cx-oracle-users] question on cx_oracle build
Brought to you by:
atuining
From: Steinmann D. <Dan...@co...> - 2006-08-30 11:13:56
|
From: Hang, Jianhong (John, TSG-GDCC-SH) > $ python setup.py build > running build > running build_ext > building 'cx_Oracle' extension > ld -b build/temp.hp-ux-B.11.23-ia64-2.4/cx_Oracle.o > -L/u01/app/oracle/product/10.2.0/db_1/lib32 -lclntsh -lttsh10 > -o build/lib.hp-ux-B.11.23-ia64-2.4/cx_Oracle.sl > ld: Can't find library or mismatched ABI for -lclntsh Fatal error. > error: command 'ld' failed with exit status My guess: You are on an 64-bit machine, but you are linking to the = 32-bit Oracle libraries. Make sure LD_LIBRARY_PATH points to = $ORACLE_HOME/lib and not $ORACLE_HOME/lib32 . HTH, Daniel |