RE: LD_PRELOAD problem
- From: Tanel Poder <tanel.poder.003@xxxxxxx>
- To: exriscer@xxxxxxxxx, "'Jesse, Rich'" <Rich.Jesse@xxxxxx>
- Date: Thu, 31 Aug 2006 21:17:24 +0800
LD_PRELOAD allows you to hijack dynamicly loaded library functions. If
sqlplus calls function X, then if this function X is exported from your
/sbl/xxx.sl then this function X is called from /sbl/xxx.sl even if it
exists in some other dll against which the executable is linked (like
libclntsh* libraries).
Run: nm /sbl/xxx.sl to see which functions may be hijacked there, this could
give some more indication what's going on.
And of course, the library's word-size has to match word-size of the
executable. If the word sizes are different, you have to recompile the
library.
Tanel.
_____
From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx]
On Behalf Of LS Cheng
Sent: Thursday, August 31, 2006 04:45
To: Jesse, Rich
Cc: oracle-l
Subject: Re: LD_PRELOAD problem
However when I unset LD_PRELOAD sqlplus works but of course the application
specific program fails.
- References:
- Re: LD_PRELOAD problem
- From: LS Cheng
Other related posts:
- » LD_PRELOAD problem
- » RE: LD_PRELOAD problem
- » Re: LD_PRELOAD problem
- » RE: LD_PRELOAD problem
- » Re: LD_PRELOAD problem
- » RE: LD_PRELOAD problem
- » Re: LD_PRELOAD problem
- » Re: LD_PRELOAD problem
- » Re: LD_PRELOAD problem
- » Re: LD_PRELOAD problem
- Re: LD_PRELOAD problem
- From: LS Cheng