Skip to Content.
Sympa Menu

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

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [I2G2-Proto] Question about LD_LIBRARY_PATH


Chronological Thread 
  • From: Maciej Glowiak <>
  • To: Jerome Durand <>
  • Cc:
  • Subject: Re: [I2G2-Proto] Question about LD_LIBRARY_PATH
  • Date: Wed, 01 Mar 2006 15:38:29 +0100
  • Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA CXBIWXMAAEU1AABFNQF8gVf5AAAAB3RJTUUH1QYQDjo6uEWvwgAAAM5JREFUGNNN0LFqAkEUheGj KRZsfATrvENgYyH4APabxwgWGUUQC99BsNDCInUq7VImbbDZ0kayxBXMuN7jvTuKVh//mZlmQKZ1 EhQ8GAVgZECspEBdWQHRjR70KlgFKkoUaCw3ijSYQ4n5HfBK4a4jDcdDQPol/80Sr9BxZOOL4Fmr Jq8VBx7eopaSPvWGOm67fqol3j1q0XNs7Nk2cs6MU6gPNzf+ZGKQX4Ek8H6rAnFZnXB2vJxJcv8g C2P+WzL4tD+Txc4KydrIkh+eAdo01QbjQ84vAAAAAElFTkSuQmCC
  • Organization: Poznan Supercomputing and Networking Center

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 Jerome,

You must set LD_LIBRARY_PATH to the directory where your libjrrd.so file is. I don't know in what directory you installed compiled version libjrrd.so, but "ant build-rrdjtool" ant target uses a couple of variables you had set before you compiled it.

There is an information about it in "rrdjtool-compile-targets.xml" file:

-------------------------------------------------------------------
<!-- Remeber to setup relevant properties (rrdjdir, rrdtool_path, jdk_path) in 'const.properties'
-------------------------------------------------------------------

I am not sure about directories you mentioned, but you may install libjrrd.so even in /usr/local/lib or /usr/lib.

Roman is an author of that script, so perhaps he would know why he used such directories. :)

Maciej







--

--------------------------------------------------------------------
| Maciej Glowiak Network Research and Development ||
|

Poznan Supercomputing and Networking Center ||
| (+48 61) 858 2024 http://monstera.man.poznan.pl/ ||
====================================================================



Archive powered by MHonArc 2.6.16.

Top of Page