문제

I am trying to build my PRO* C application in 32 bit mode using Oracle 10g 64 bit on Solaris SPARC platform.

Can someone tell me what settings has to be made in order to successfully compiler and create an executable?

Currently when I switch my LD_LIBRARY_PATH=$ORACLE_HOME/lib32, proc fails with the following error:

##ld.so.1: proc: fatal: /opt/oracle/product/10.2.0.4/lib32/libclntsh.so.10.1: wrong ELF class: ELFCLASS32

Any help is appreciated.

도움이 되었습니까?

해결책

The error message is quite clear, you try to link a 32bit library with a 64bit application. You should try with LD_LIBRARY_PATH=$ORACLE_HOME/lib as it is there that the 64bit libraries are put. Oracle doesn't use the normal library scheme of Solaris (the sparcv9 subdirectory thing).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top