[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 19:25:43 -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 6:28 PM, Mohammad Akhlaghi wrote:
> Yes, I configure Bash using the `--with-installed-readline' and set
> LDFLAGS. It builds and installs successfully and there is no problem in
> that part.
>
> The problem is in running bash. I have installed Bash 5.0 and the
> respective libreadline and libncursesw in a non-standard directory (I don't
> have root access on the system). So, it will crash (because of not finding
> libreadline) unless I set LD_LIBRARY_PATH.
>
> I am trying to find a way to embed RPATH in the bash executable so I don't
> have to set LD_LIBRARY_PATH before calling bash (and thus inheriting this
> directory to everything that I call under bash).
Isn't there a linker option you can supply, possibly as part of LDFLAGS,
to embed that into the bash binary?
--
``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/
- Installing bash with rpath, Mohammad Akhlaghi, 2019/01/20
- Re: Installing bash with rpath, Chet Ramey, 2019/01/20
- Re: Installing bash with rpath, Mohammad Akhlaghi, 2019/01/20
- Re: Installing bash with rpath,
Chet Ramey <=
- Re: Installing bash with rpath, Mohammad Akhlaghi, 2019/01/20
- Re: Installing bash with rpath, Chet Ramey, 2019/01/22
- Re: Installing bash with rpath, Mohammad Akhlaghi, 2019/01/23
- Re: Installing bash with rpath, Chet Ramey, 2019/01/23
- Re: Installing bash with rpath, Mohammad Akhlaghi, 2019/01/23