ERROR: ld.so: object '/usr/toolworks/totalview.8.3.0-1/linux-x86/lib/libtvheap.so' fr
Hello,
I am working on linux quite a time now but still know a little.
The issue is, I am getting "ERROR: ld.so: object '/usr/toolworks/totalview.8.3.0-1/linux-x86/lib/libtvheap.so' from LD_PRELOAD cannot be preloaded: ignored."
and what i am trying to do is:
for some particular task,(for capturing memory dump)I am following the steps bellow:
1. Install HIA (Heap Interposition Agent) in SFE Machine
a. Create the following directory: /usr/toolworks/totalview.8.3.0-1/linux-x86/lib/
b. Copy libtvheap.so from J2lang: /usr/toolworks/totalview.8.3.0-1/linux-x86/lib/libtvheap.so into SFE machine at the following directory: /usr/toolworks/totalview.8.3.0-1/linux-x86/lib/
3. Set a preload environment variable before launching the program,
Edit file /home/smsc/scricpts/smsc add the following line at the beginning of
“set_enviorment” function
LD_PRELOAD=/usr/toolworks/totalview.8.3.0-1/linux-x86/lib/libtvheap.so
Add the following line at the beginning of “export_environment ()” function:
export LD_PRELOAD
4. Confirm that SFE process will run with new environment parameter by performing the following:
a. type: “smsc -exec sh”
b. type: “env | grep LD_PRELOAD”
The displayed result should be:
LD_PRELOAD=/usr/toolworks/totalview.8.3.0-1linux-x86/lib/libtvheap.so
all the above i am doing as a root user, when I am trying to login as a smsc user, I am getting the above mentioned error.
can you please suggest something..
|