Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Showing results for 
Search instead for 
Did you mean: 

linking with oracle 9 library

joseph raj
Occasional Visitor

linking with oracle 9 library

When I am doing a 32 bit link, I am getting following error.

/usr/ccs/bin/ld: /apps/oracle_products/9.0.1/lib/ Mismatched ABI. 64-bit PA

shared library found in 32-bit link.

Does oracle 9.0 has 32 bit libraries?


Re: linking with oracle 9 library

Oracle ships with 32-bit libraries in lib32 directory.

Your SHLIB_PATH should look something like

Oracle 8i shipped with 64 bit libraries, but they were in the lib64 directory. With 9i however, the 64-bit libraries are in lib directory and the 32 bit ones in lib32.

You may also need to change your makefiles.

Hope this helps,