I was trying to compile a proc code. All steps when fine, except the last step which threw an error -
I was just trying to compile it manually. Any ideas what this error means. Does it mean I am using the wrong library?
I was trying to compile a proc code. All steps when fine, except the last step which threw an error -
I was just trying to compile it manually. Any ideas what this error means. Does it mean I am using the wrong library?
The library was pointing to a 64 bit library. Changed the directory where to serach for the library. Searched google and found the solution. it should have been
Here is the link - oracle
Should learn to first try and then post.
Regards
just another way,
change your ORACLE_LIB path to /lib32 in LD_LIBRARY_PATH env variable
and just
cc filename.c -o filename -lclntsh
Thanks Madhan, Will keep this in mind in future.