well i know what LD_PRELOAD is. Now suppose i have hooked a function XDrawString in the my library (Mylib.so.1) and then used the command
export LD_PRELOAD=/path/mylib.so.1
Now suppose i open Xeditor by typing 'xeditor' in the console, my library is geting used, so i knw that this applilcation is using this function(XDrawString)... but the effect is only for that terminal.
NOw if i open the same application from the outside the terminal , say from the RUN dialogue box, the application opens.. but now my library is not geting used...
QUESTION: Is that application using some other function now (i think thts nt the case).... or HOW TO PRE_LOAD THE LIBRARY ON A GLOBAL BASIS?