I have made widespread changes in our build system so that USE_RPATH is now
honored when installing the various PLplot libraries.  (USE_RPATH has always
been honored when building the installed examples.) I have tested both the
default (USE_RPATH=ON) and also -DUSE_RPATH=OFF, and I get the expected
results.  In both cases the ctest tests (the build-tree tests) work.  In the
first case, make install has lots of rpath link commands, and you don't need
to specify LD_LIBRARY_PATH in order for the install tree examples to work.
In the second case, "make install" generates no rpath link commands (no
rpath is required by some packaging systems), and you must specify
LD_LIBRARY_PATH to get any of the installed examples to work (assuming you
have installed PLplot in a non-standard location).

Those who are doing PLplot packaging should try -DUSE_RPATH=OFF
to see if it makes your rpath life a little easier.

Valery, this still leaves the issue of the trailing ":" for rpath that you
detected for your particular combination of software packages.  You should
be able to work around it now by specifying -DUSE_RPATH=OFF, but I would
also appreciate it if you pursue the trailing ":" rpath issue some more for
the default (-DUSE_RPATH=ON) case so we can find out what is going wrong on
your particular platform for that case.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to