|Profile Launch Xrun library error [message #77746]
||Wed, 19 July 2006 07:03
Originally posted by: rajakididi.hotmail.com|
I am new to TPTP. I am trying to do a Profile Launch with configuration
type as "Eclipse Application."
From the "Profiling Tab" I have selected the option "Execution History -
When I click on Profile it asks me to switch to Profiling and Logging
Perspective but after that profile launch terminates printing the
following error on the console :: "Error occurred during initialization of
Could not find -Xrun library: libpiAgent.so"
I am running Linux on an x86 machine and using Java 1.4.2.
I have also tried to set the environment variable LD_LIBRARY_PATH to the
libpiAgent.so library path which is available on the following location
" eclipse/plugins/org.eclipse.hyades.execution_4.1.0/os/linux/ x86/libpiAgent.so ".
Please help me to resolve this issue.
|Re: Profile Launch Xrun library error [message #78259 is a reply to message #78248]
||Fri, 21 July 2006 20:19
| Randy D. Smith
Registered: July 2009
Randy D. Smith wrote:|
> Krayon wrote:
>> Hi Randy
>> I changed the permissions on the library to executable (chmod +x). But
>> this doesn't help. I am still getting the same problem.
> Looking back through this thread, I see that you're profiling an
> *Eclipse Application* rather than a normal Java application. (Yes, I
> didn't see that originally.) Perhaps one of my fellow TPTP-ers will jump
> in and tell us what is/might be different in that situation.
> But thinking about that takes me back to the LD_LIBRARY_PATH attempts...
> given that an Eclipse application startup adds what is in a sense a
> level of indirection to the invocation process, I'm wondering if (1) you
> "set" the LD_LIBRARY_PATH or whether you EXPORTED the value... make sure
> the value is exported, and (2) make sure you use the absolute path for
> the piAgent library, not a path relative to your current working directory.
> Meanwhile I'll keep digging to see if there is anything unique about
> profiling an Eclipse app. I have a vague recollection of people running
> into brick walls profiling such as they were overwhelmed with data?!?
After wallowing around in bugzilla, I think we're back to Paul's
suggestion that you'll need to file a bugzilla so that "the right
people" look into it. The closest I found was <
https://bugs.eclipse.org/bugs/show_bug.cgi?id=150660 >, which implies
that the basic stuff you're trying should "just work" ... unless the
problem is Ubuntu-specific ... we seem to see an increasing frequency of
complaints from Ubuntu users... I don't know if that is totally
correlated with more Ubuntu use or if RedHat and SuSE "just work"
whereas something is out of whack on Ubuntu.
Did you ever try Paul's suggestion to switch from using the IAC (built
into the Eclipse workbench when TPTP is installed and thus somewhat
"invisible" to users) to running with the agent controller? If not, you
really should try that route. If you do try, please let us know the
results, good or bad.
Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
Eclipse TPTP Committer, Platform Proj (data collection/agent controller)
Powered by FUDForum
. Page generated in 0.02010 seconds