王振江 wrote:
> Hi all,
>      I have downloaded libpfm-3.3 
> <http://sourceforge.net/project/showfiles.php?group_id=144822&package_id=159923&release_id=579374>
>  and 
> pfmon-3.3 
> <http://sourceforge.net/project/showfiles.php?group_id=144822&package_id=188482&release_id=579375>
>  , 
> and installed them on an Itanium 2 computer. The OS information are as 
> follows:
>  
> Red Hat Enterprise Linux AS release 4 (Nahant Update 6)
> Kernel 2.6.9-67.EL on an ia64
>  
> However, there seems to be something wrong with pfmon.
>  
> [EMAIL PROTECTED] pfmon-3.3]# pfmon
> linked with libpfm v3.0, needs at least v3.2
>  
> [EMAIL PROTECTED] examples]# ll /usr/local/lib
> total 7616
> drwxr-xr-x  3 root root    4096 Feb  3 09:51 gcc
> -rw-r--r--  1 root root  738650 Apr 18 16:58 libpfm.a
> lrwxrwxrwx  1 root root      15 Apr 18 16:58 libpfm.so -> libpfm.so.3.3.0
> lrwxrwxrwx  1 root root      15 Apr 18 16:58 libpfm.so.3 -> libpfm.so.3.3.0
> -rwxr-xr-x  1 root root  558591 Apr 18 16:58 libpfm.so.3.3.0
> -rwxr-xr-x  1 root root 5880485 Feb  3 09:51 libstdc++.so.6.0.8
> 
>  
> I have changed v3.2 for both libpfm and pfmon, but the problem remains. 
> I wonder if I could get some help here. Thank you.
>  
> Regards,
> Wang.

Hi Wang,

I suspect that you still have the old libpfm/libpfm-devel rpms installed on the
machine. Rather than getting the new version you build you are getting the old
3.0. As Stephane suggested "ldd" on the pfmon command would indicate which
libraries it is linked with.

Also after you install the new libpfm libraries you will need to make the aware
of the new libraries. e.g. make a file /etc/ld.so.conf.d/perfmon.conf with the
following line:

/usr/local/lib

Then run /sbin/ldconfig

Might need to compile and run pfmon with with the following environment to get
the correct version of the library:

export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

-Will




-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
perfmon2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to