|
From: Ethan M. <merritt@u.washington.edu> - 2007-01-29 19:50:17
|
On Monday 29 January 2007 11:24, Hans-Bernhard Br=F6ker wrote: > Ethan A Merritt wrote: > > Anyhow, even if you force ./configure to use some particular version=20 > > when building gnuplot, at runtime it will still pick the libgd.so.2=20 > > provided by the system setup or by LD_LIBRARY_PATH. =20 >=20 > Not necessarily. Shared libraries can be registered with an absolute=20 > path. The don't have to be searched via LD_LIBRARY_PATH or related=20 > means, and the executable can influence its own effective search path to= =20 > some extend. Viz. 'ld' options -R, -rpath etc. That is true, at least on some systems. But so far as I know gnuplot's configure script doesn't do any such thing. =20 It may be that you can force this in the gdlib-config file; I don't know mu= ch=20 about that mechanism. But if I understand Lars' comment correctly,=20 the needed fix is not a change to the ./configure script but rather a change to the environmental variable PATH at the time ./configure is run. =20 |