Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumslibpiAgent.so can not be found
https://www.eclipse.org/forums/index.php/mv/msg/27371/88843/#msg_88843
Originally posted by: rajakididi.hotmail.com
Hi
I am a new user to Eclipse TPTP. I have successfully installed the TPTP
plugins along with the other required EMF etc.. plugins.
I am running Eclipse SDK 3.2 with Java 1.5 on Ubuntu Linux x86-32 bit
machine. I am trying to do a Profile Launch with the set of plugins in the
workspace. But when I do the launch, it asks me to switch to Profiling
Perspective but soon after the launch terminates printing the following
message on the Eclipse Console View:
"Error occurred during initialization of VM
Could not find agent library on the library path or in the local
directory: piAgent".
I tried all the solutions provided in the discussion but no help for me as
for Jonathan who posted the query.
Please help me to find a way to fix this problem.
Thanks & Regards,
Keya]]>2006-11-28T10:23:32-00:00Re: libpiAgent.so can not be found
https://www.eclipse.org/forums/index.php/mv/msg/27371/88864/#msg_88864
> Hi
>
> I am a new user to Eclipse TPTP. I have successfully installed the TPTP
> plugins along with the other required EMF etc.. plugins.
>
> I am running Eclipse SDK 3.2 with Java 1.5 on Ubuntu Linux x86-32 bit
> machine. I am trying to do a Profile Launch with the set of plugins in
> the workspace. But when I do the launch, it asks me to switch to
> Profiling Perspective but soon after the launch terminates printing the
> following message on the Eclipse Console View:
>
> "Error occurred during initialization of VM
> Could not find agent library on the library path or in the local
> directory: piAgent".
>
> I guess this is a known issue since I have found a reference to it on
> this newsgroup itself: [
> http://dev.eclipse.org/newslists/news.eclipse.tptp/msg03062. html ]
> I tried all the solutions provided in the discussion but no help for me
> as for Jonathan who posted the query.
> Please help me to find a way to fix this problem.
>
> Thanks & Regards,
> Keya
>
In your Eclipse installation directory, could you find your piAgent for
me (as in "cd <Eclipse installation directory>; find . -name
libpiAgent.so -print"), and then run ldd on that library and tell me
what it says?
I'm suspecting this is the "Ubuntu doesn't come with the right libstdc++
compatibility library" issue", but I'm not sure.
--
RDS
Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
Eclipse TPTP Committer, Platform Proj (data collection/agent controller)]]>Randy D. Smith2006-11-28T19:20:15-00:00Re: libpiAgent.so can not be found
https://www.eclipse.org/forums/index.php/mv/msg/27371/88879/#msg_88879
Originally posted by: rajakididi.hotmail.com
Hi Randy
I did what you asked me for and here is the output of ldd on libpiAgent.so
available in the eclipse.
ldd
/plugins/org.eclipse.hyades.execution.linux.x86_4.2.0.v20060 6131519/libpiAgent.so
linux-gate.so.1 => (0xffffe000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7e83000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7e80000)
libhcbnd.so => not found
libhcclco.so => not found
libhccldt.so => not found
libhccls.so => not found
libhcclsm.so => not found
libstdc++-libc6.2-2.so.3 => not found
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7e5d000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7d2e000)
/lib/ld-linux.so.2 (0x80000000)
I guess some required libraries are missing from the path. Can you help me
figure out a way to solve this? Please let me know if you require some
other information.
Thanks & Regards,
Keya]]>2006-11-29T05:45:14-00:00Re: libpiAgent.so can not be found
https://www.eclipse.org/forums/index.php/mv/msg/27371/88998/#msg_88998
Originally posted by: standby.chu.gmail.com
Hi,
For your reference, I am running Ubuntu Edgy, Eclipse 3.2.1 on linux
32bit platform.
The result returned from the ldd is a bit wrong as you need to set the
LD_LIBRARY_PATH.
Wish this helps. :)
Keya wrote:
> Hi Randy
>
> I did what you asked me for and here is the output of ldd on
> libpiAgent.so available in the eclipse.
>
> ldd
> /plugins/org.eclipse.hyades.execution.linux.x86_4.2.0.v20060 6131519/libpiAgent.so
>
> linux-gate.so.1 => (0xffffe000)
> libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7e83000)
> libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7e80000)
> libhcbnd.so => not found
> libhcclco.so => not found
> libhccldt.so => not found
> libhccls.so => not found
> libhcclsm.so => not found
> libstdc++-libc6.2-2.so.3 => not found
> libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7e5d000)
> libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7d2e000)
> /lib/ld-linux.so.2 (0x80000000)
>
> I guess some required libraries are missing from the path. Can you help
> me figure out a way to solve this? Please let me know if you require
> some other information.
>
> Thanks & Regards,
> Keya
>
Regards,
Stephen]]>2006-11-29T09:56:49-00:00Re: libpiAgent.so can not be found
https://www.eclipse.org/forums/index.php/mv/msg/27371/89060/#msg_89060
Originally posted by: rajakididi.hotmail.com
Hi Stephen
Yes, that works!! Thanks a lot.
The library issue is resolved but another problem uis surfaced now. I will
really appreciate some help here. When I do the Profile launch the launch
terminates printing the following Error Log:
java.lang.NullPointerException
at
org.eclipse.jface.resource.JFaceResources.getResources(JFace Resources.java:184)
at org.eclipse.jface.resource.ImageRegistry.<init>(ImageRegistry.java:145)
at org.eclipse.jface.resource.ImageRegistry.<init>(ImageRegistry.java:117)
at
org.eclipse.hyades.ui.internal.extension.AssociationMappingR egistry.getImageRegistry(AssociationMappingRegistry.java:96)
at
org.eclipse.hyades.ui.internal.extension.AssociationMapping. getImageRegistry(AssociationMapping.java:91)
at
org.eclipse.hyades.ui.internal.extension.AssociationDescript or.getImageRegistry(AssociationDescriptor.java:89)
at
org.eclipse.hyades.ui.internal.extension.AssociationDescript or.getImageDescriptor(AssociationDescriptor.java:150)
at
org.eclipse.hyades.trace.ui.internal.core.TraceAssociationMa nager$TraceDescriptorFilter.isValid(TraceAssociationManager. java:54)
at
org.eclipse.hyades.ui.internal.extension.AssociationMapping. isValid(AssociationMapping.java:442)
at
org.eclipse.hyades.ui.internal.extension.AssociationMapping. register(AssociationMapping.java:396)
at
org.eclipse.hyades.ui.internal.extension.AssociationDescript or.addType(AssociationDescriptor.java:315)
at
org.eclipse.hyades.ui.internal.extension.AssociationDescript or.loadFromConfigurationElement(AssociationDescriptor.java:4 26)
at
org.eclipse.hyades.ui.internal.extension.AssociationMapping. loadPluginRegistry(AssociationMapping.java:344)
at
org.eclipse.hyades.ui.internal.extension.AssociationMapping. getAssociationDescriptors(AssociationMapping.java:161)
at
org.eclipse.hyades.trace.ui.internal.util.TraceAssociationMa pping.getClassForTypeUnsorted(TraceAssociationMapping.java:7 2)
at
org.eclipse.hyades.trace.ui.internal.util.TraceAssociationMa pping.isViewForType(TraceAssociationMapping.java:106)
at
org.eclipse.hyades.log.ui.internal.navigator.LogNavigatorSyn chronizer.handleAdd(LogNavigatorSynchronizer.java:296)
at
org.eclipse.hyades.log.ui.internal.navigator.LogNavigatorSyn chronizer.notifyChanged(LogNavigatorSynchronizer.java:123)
at
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify (BasicNotifierImpl.java:230)
at
org.eclipse.emf.common.notify.impl.NotificationImpl.dispatch (NotificationImpl.java:1029)
at
org.eclipse.hyades.models.hierarchy.impl.TRCAgentProxyImpl.s etProcessProxy(TRCAgentProxyImpl.java:683)
at
org.eclipse.hyades.trace.ui.internal.util.PDCoreUtil.createA gentNoCheck(PDCoreUtil.java:1256)
at
org.eclipse.hyades.trace.ui.internal.util.PDCoreUtil.createA gent(PDCoreUtil.java:366)
at
org.eclipse.hyades.trace.ui.internal.util.PDCoreUtil.createA gent(PDCoreUtil.java:336)
at
org.eclipse.hyades.trace.ui.internal.piclient.PIProcessListe ner.createAgent(PIProcessListener.java:702)
at
org.eclipse.hyades.trace.ui.internal.piclient.PIProcessListe ner.processLaunched(PIProcessListener.java:608)
at
org.eclipse.hyades.internal.execution.local.control.ProcessI mpl.handleCommand(ProcessImpl.java:584)
at
org.eclipse.hyades.internal.execution.local.control.ProcessI mpl$1.incommingCommand(ProcessImpl.java:147)
at
org.eclipse.hyades.internal.execution.local.control.Connecti onImpl$1.incommingCommand(ConnectionImpl.java:128)
at
org.eclipse.hyades.internal.execution.local.control.Connecti onImpl.processControlMessage(ConnectionImpl.java:346)
at
org.eclipse.hyades.internal.execution.local.control.Connecti onImpl$SocketReaderThread.run(ConnectionImpl.java:473)