On 2013-12-19 23:41-0000 Andrew Ross wrote:

> In the install tree
>
> readelf -d libitcl3.4.so
> shows rpath is not set. On the other hand
> readelf -d libtcl8.6.so
> correctly sets rpath.

I confirm the above for the epa_build results here.  And post-release
I suppose I should modify the autotools epa_build of itcl3.4 (and
other Tcl etc., components) to get rid of all potential rpath issues for
those components.

But I cannot figure out how the above situation actually creates
problems for you.

For example, I thought it might be possible because of the above that
Itcl would not load properly when executing

package require Itcl

from either tclsh or wish.  But our build system uses that sort of
command a lot when figuring out the consistency of
Tcl/Tk/Itcl/Itk/Iwidgets versions, and it appears to be working
despite the autotools epa_build not setting rpath properly for certain
components (such as Itcl) of Tcl/Tk/Itcl/Itk/Iwidgets.

Furthermore, for the PLplot case we
set rpath properly for pltcl and plserver, e.g.,

wine@raven> readelf -d ../install-linux/bin/pltcl |grep -i rpath
  0x000000000000000f (RPATH)              Library rpath:
[/home/wine/newstart/build_script/install-linux/lib:/home/wine/newstart/build_script/install-linux_buildtools/lib:/home/wine/newstart/build_script/install-linux_buildtools/lib/itcl3.4:/home/wine/newstart/build_script/install-linux_buildtools/lib/itk3.3]
wine@raven> readelf -d ../install-linux/bin/plserver |grep -i rpath
  0x000000000000000f (RPATH)              Library rpath:
[/home/wine/newstart/build_script/install-linux/lib:/home/wine/newstart/build_script/install-linux_buildtools/lib:/home/wine/newstart/build_script/install-linux_buildtools/lib/itcl3.4:/home/wine/newstart/build_script/install-linux_buildtools/lib/itk3.3]

So at least for those PLplot executables, all four of the Tcl/Tk/Itcl/Itk 
library
locations should be found by the run-time loader.

Is there some PLplot executable or library where I forgot to set rpath
properly?

Or would the potential rpath issues for the "package require Itcl"
command not occur when just finding the version of Itcl, but deeper
use (say like in the pltcl_standard_examples or wish_standard_examples
scripts) finally cause issues on some systems?

So to figure out why the rpath issues for the epa_build of
Tcl/Tk/Itcl/Itk/Iwidgets are affecting PLplot, I need more details
about exactly where the PLplot build or test problem is occurring
for your platform.

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); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); 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
__________________________

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to