bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Installing bash with rpath


From: Chet Ramey
Subject: Re: Installing bash with rpath
Date: Sun, 20 Jan 2019 14:54:03 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.3.3

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    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]