[Ecls-list] failed installation due to libecl.so

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Mon Aug 25 22:41:20 UTC 2008


On Mon, Aug 25, 2008 at 8:09 PM, Oliver Kullmann
<O.Kullmann at swansea.ac.uk> wrote:
> But it still seems to me a bug in the Ecl build process:
> The point of a local installation is exactly that one
> doesn't want to change the environment.

No, the point is that ECL cannot impose use of --rpath (which is what
you need) for every installation. See other messages in the mailing
list reporting bugs about it.

> So I have created a wrapper script containing the line
> LD_LIBRARY_PATH=/path/to/directory/which/contains/the/so-file; /path-to-ecl-bin-file
> which I use instead of the ecl-bin-file, but I think this shouldn't be
> necessary.

It is not. As I said, there is a very well defined linker flag, called
--rpath, which you can use to tell ECL that you do not want to change
LD_LIBRARY_PATH. If you use that flag, the executable will have a
fixed location for the library and you do not need to set environment
variables.

Juanjo

-- 
Instituto de Física Fundamental
CSIC, Serrano, 113, Madrid 28040 (Spain)
http://juanjose.garciaripoll.googlepages.com


More information about the ecl-devel mailing list