The reason for this is usually because the Oracle client libraries installed on your machine are 64-bit. If this is the case, you should have a directory named lib32 in ORACLE_HOME. What you need to do is to rename the lib32 directory to lib (obviously rename your existing lib directory first).