LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-09-2012, 08:20 AM   #1
harshd
LQ Newbie
 
Registered: Feb 2010
Posts: 1

Rep: Reputation: 0
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..
 
Old 02-10-2012, 02:16 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,251

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
run file on things to make sure your everything is 32 or 64 bit. Another useful tool is readelf, and I think it's
readelf -a /usr/toolworks/totalview.8.3.0-1linux-x86/lib/libtvheap.so
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OPENNMS INSTALLATION ERROR -install –disU –l /usr/lib/jni:/usr/lib ramecare Linux - Server 4 07-11-2011 12:06 PM
opennms installation error -install –disU –l /usr/lib/jni:/usr/lib ramecare Linux - Server 2 07-08-2011 10:51 AM
Starting httpd: /usr/sbin/httpd: symbol lookup error: /usr/local/lib/libaprutil-0.so. bijuhpd Linux - Newbie 1 10-30-2005 05:07 PM
Compromised? Files "/usr/lib.hwm", "/usr/lib.pwd", "/usr/lib.pwi" Klaus Pforte Linux - Security 4 09-28-2004 11:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration