Skip to Content.
Sympa Menu

perfsonar-user - [Fwd: Re: [I2G2-Proto] Question about LD_LIBRARY_PATH]

Subject: perfSONAR User Q&A and Other Discussion

List archive

[Fwd: Re: [I2G2-Proto] Question about LD_LIBRARY_PATH]


Chronological Thread 
  • From: Roman Lapacz <>
  • To:
  • Subject: [Fwd: Re: [I2G2-Proto] Question about LD_LIBRARY_PATH]
  • Date: Thu, 02 Mar 2006 10:03:20 +0100



-------- Original Message --------
Subject: Re: [I2G2-Proto] Question about LD_LIBRARY_PATH
Date: Thu, 02 Mar 2006 09:05:48 +0100
From: Roman Lapacz
<>
To: Jerome Durand
<>
CC:

References:
<>



Jerome Durand wrote:
Hi,

I'm told after running

$PERFSONAR/ant> ant build-rrdjtool

[echo] -----------------------------------------------------------
[echo] Now you need to setup LD_LIBRARY_PATH env variable which should contain
[echo] /usr/local/jra1/lib:/usr/local/jra1/sonar/rrdjtool/build
[echo] -----------------------------------------------------------

I'm wondering if there is not a problem with the paths mentionned... /usr/local/jra1/lib seems weird. Shouldn't that be /usr/local/jra1/sonar/perfsonar/lib ?


Hi

LD_LIBRARY_PATH env variable should contain two paths:

1. a path where libraries of RRDTool application are located

this is what I've got in my system:

vaja ant # ls /usr/lib/*rrd*
/usr/lib/librrd.a /usr/lib/librrd.so.2 /usr/lib/librrdPlugin.a /usr/lib/librrd_th.la /usr/lib/librrd_th.so.2.0.1
/usr/lib/librrd.la /usr/lib/librrd.so.2.0.4 /usr/lib/librrdPlugin.so /usr/lib/librrd_th.so
/usr/lib/librrd.so /usr/lib/librrdPlugin-3.0.so /usr/lib/librrd_th.a /usr/lib/librrd_th.so.2


Ant script suggests this path using 'rrdtool_path' property from ant/const.properties ('rrdtool_path' is a base path of RRDTool application. In my system this application is in /usr/bin/ directory so base path is /usr. 'rrdtool_path' can be set up manually or during automatic configuration run by 'ant configure-rrdma'.)


2. a path where native library of rrdjtool has been created

this is what I've got in my system:

vaja ant # ls /root/Download/dev/sonar-head-20060224/sonar/rrdjtool/build
CVS libjrrd.so rrdjtool.jar


-----


So in my system LD_LIBRARY_PATH contains:

/usr/lib:/root/Download/dev/sonar-head-20060224/sonar/rrdjtool/build



Roman















Archive powered by MHonArc 2.6.16.

Top of Page