Step 1) Open a new shell with the oracle user
Step 2) Set the $ORACLE_HOME if not already set)
Step 3) Go to $ORACLE_HOME/bin and backup genclntsh (cp genclntsh genclntsh.old)
Step 4) Edit genclntsh (vi genclntsh) and REMOVE the ${LD_SELF_CONTAINED} flag from the ld command in the 'Create Library' section.
Step 5) Run the genclntsh script (as oracle user with $ORACLE_HOME set !)