On 1/20/19 12:03 PM, Mohammad Akhlaghi wrote:
> Dear Bash developers,
> 
> I am trying to build Bash for a relatively closed environment where I don't
> want the Bash executable to link with the system's libreadline and
> libncursesw, but my own installation of these libraries.
> 
> However, even when I configure bash with `--enable-rpath', and add
> `-Wl,-rpath-link=$my_install/lib' to LDFLAGS, the bash executable doesn't
> have the absolute address of these libraries in it.

Bash doesn't use --enable-rpath, and it's not in the list of options
configure supports. Have you tried --with-installed-readline=path?
And told the linker to use a specific directory for libraries using
LDFLAGS when running the make?

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to