[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [aspell-devel] bug: solaris build does not use --prefix properly
From: |
James Lee |
Subject: |
Re: [aspell-devel] bug: solaris build does not use --prefix properly |
Date: |
Tue, 11 Oct 2005 08:37:13 GMT |
On 10/10/05, 18:12:11, Tyler Ross <address@hidden> 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.