|
Posted by Tweetie Pooh on June 13, 2008, 5:42 pm
Please log in for more thread options
>
> Yes, this is a comment - the only explanation I have for this is,
> that it would be compatible with a K&R-C-compiler, cause this very
> old version of C doesn't support argument types for function
> declarations. Therefore you may have a look at the compiler flags that
> are used, and check whether there is another version of the prototype
> in the header that gets used if some defines (flag -Dsomething) are
> set. You may also run into trouble, if your version of Oracle is
> 64-bit, while gcc produces/uses 32-bit libraries: check
> LD_LIBRARY_PATH then, so you use the correct 32-bit oracle ABI with
> gcc.
>
The 64/32 bit is what stymied us for a while. Most stuff puts 32bit in lib
and 64 bit in lib64 (or similar). Oracle is the reverse. If you install
64 bit Oracle the the 64bit is in lib and 32bit in lib32.
Set LD_LIBRARY_PATH to $ORACLE_HOME/lib32 (and other directories as
needed) if using 64bit Oracle.
|