like I do when I have to interface with Oracle creat an ld.env file with all the paths whined about by the app in questionand source it before running the app. if that works src the env file from your .profile or .login whichever you are using.
thanx,
bill