Oracle\'s instructions specify setting LD_LIBRARY_PATH. This makes my application dependent on random users\' configuration and is very troublesome to set up.
How can I
You could of course rename sqlplus to sqlplus.real and make a wrapper script:
#!/bin/sh if [ "$LD_LIBRARY_PATH" = "" ] then LD_LIBRARY_PATH=/what/ever else LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/what/ever fi export LD_LIBRARY_PATH exec sqlplus.real ${1+"$@"}