On 10/10/05, 18:12:11, Tyler Ross <[EMAIL PROTECTED]> wrote regarding re[2]:
[aspell-devel] bug: solaris build does not use --prefix properly:

> Digging  further into this, it turns out that what was happening was
> as follows:
...
> - executable in alternate directory picks up shared library in
> standard location due to LD_LIBRARY_PATH setting

There is your mistake, don't set LD_LIBRARY_PATH.  Instead set the RPATH
in executables and libraries with -R.  For example aspell's configure
correctly uses:

export LDFLAGS="-L/some/nonstandard/dir -R/some/nonstandard/dir"

If any existing program needs LD_LIBRARY_PATH then create a wrapper
script to set LD_LIBRARY_PATH and invoke the program - but don't have
LD_LIBRARY_PATH set in your environment.




James.


_______________________________________________
Aspell-devel mailing list
Aspell-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/aspell-devel

Reply via email to