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.
As a result, the only way I can run my installation of Bash is to
explicitly add `$my_install/lib' to LD_LIBRARY_PATH.
I use the same recipe (to build Bash) for many other low-level GNU
programs, but I don't have this problem for any other executable (they
all contain the absolute address of the libraries they link with).
I wanted to see if you have any recommendations to fix this problem.
Thank you very much,
Mohammad