Fully featured low overhead profiler for Java EE and Java SE platforms.
Performance monitoring and profiling of Jenkins, TeamCity, Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

Cannot find libyjpagent.so library on Solaris

Moderators: Vladimir Kondratyev, Anton Katilin

Cannot find libyjpagent.so library on Solaris

Postby manjia » Mon Apr 25, 2005 4:55 pm

Hi
I've got YourKit 4.0.9 working great under Windows but having installed it on our Solaris-SPARC test machine I cannot get it to run.

Our OS version is:
Code: Select all
$ uname -a
SunOS bouncy.jupiter.bbc.co.uk 5.8 Generic_117350-15 sun4u sparc SUNW,Sun-Fire-280R

Our Java version is:
Code: Select all
$ java -version
Java version "1.4.2_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)

I added the bin/solaris-sparc directory to the LD_LIBRARY_PATH and exported it, but I get the following:
Code: Select all
$ echo $LD_LIBRARY_PATH
/home/jboss/yjp-4.0.9/bin/solaris-sparc:/oracle/product/9.2/lib:/usr/lib/lwp:/oracle/product/9.2/jdbc/lib
$ samples/sample2/run.sh
Error occurred during initialization of VM
Could not find -Xrun library: libyjpagent.so

I have checked for link errors also:
Code: Select all
$ ldd bin/solaris-sparc/libyjpagent.so
        libc.so.1 =>     /usr/lib/libc.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        /usr/platform/SUNW,Sun-Fire-280R/lib/libc_psr.so.1


Any further suggestions from anybody?
Thanks
Asad
manjia
 
Posts: 3
Joined: Mon Apr 25, 2005 4:46 pm

fixed it

Postby manjia » Mon Apr 25, 2005 5:12 pm

I copied across the library from my Windows install (YourKit 4.0.8) and it works happily.
I had previously downloaded the 4.0.9 zip from the site and unzipped that on the Solaris box. Is this a corrupt library issue in the 4.0.9 download?
manjia
 
Posts: 3
Joined: Mon Apr 25, 2005 4:46 pm

Postby Anton Katilin » Mon Apr 25, 2005 6:30 pm

Hi,

Thank you for your report.

Looks like there are indeed some problems with Solaris .so in this build.

The fix will be available tomorrow.

Best regards,
Anton
Anton Katilin
 
Posts: 5966
Joined: Wed Aug 11, 2004 8:37 am

Postby Anton Katilin » Tue Apr 26, 2005 8:48 am

The fix is available now (4.0.10)

Could you please confirm that it works for you.

Best regards,
Anton
Anton Katilin
 
Posts: 5966
Joined: Wed Aug 11, 2004 8:37 am

Postby manjia » Tue Apr 26, 2005 9:27 am

Hi Anton
Thanks for the updated .so, it works ok in 32bit mode but I get the same errors using a 64bit JVM (i.e. running java -d64 ...)
Do you have support for this?
Thanks
Asad
manjia
 
Posts: 3
Joined: Mon Apr 25, 2005 4:46 pm

Postby Vladimir Kondratyev » Tue Apr 26, 2005 9:44 am

Solaris 64bit will be supported in the version of YourKit Java Profiler. I think that early access version will be available within a month.
Vladimir Kondratyev
 
Posts: 1519
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany


Return to Java Profiler

Who is online

Users browsing this forum: No registered users and 1 guest

YourKit uses cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.

By browsing our website, you consent to our use of cookies and other tracking technologies in accordance with the Privacy Policy.