[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU bash, 3.00.15(1)-release, referenced cmd in cwd executes alterna
From: |
Bob Proulx |
Subject: |
Re: GNU bash, 3.00.15(1)-release, referenced cmd in cwd executes alternate cmd |
Date: |
Tue, 27 Feb 2007 23:09:29 -0700 |
User-agent: |
Mutt/1.5.9i |
Matthew Woehlke wrote:
> Бојан Ландекић wrote:
> >Is it possible to put bash on some portable media and use it on a
> >system that is bash-less without worrying about dependencies?
>
> Not unless you build it statically, it isn't. :-) Although I think if
> you build bash it gives you all the libraries you need except for libc
> (or your OS's equivalent). IOW if you have an entire bash install on
> your 'portable media', you should be able to run that bash on any system
> the same as, or newer than, your build system.
Actually as long as you include all of the libraries in the same
bundle and call ldso with the path to the bundled libc then it is
perfectly possible to build a complete set that will work on most
distros, on the same architecture and across compatible kernel
versions of course. On my system that would be libncurses.so.5,
libdl.so.2, libc.so.6, ld-linux-x86-64.so.2 plus bash itself and a
portable sh script wrapper to tie it all together. I do that with
other tools frequently.
Bob
- Re: GNU bash, 3.00.15(1)-release, referenced cmd in cwd executes alternate cmd, Bojan Land, 2007/02/23
- Message not available
- Re: GNU bash, 3.00.15(1)-release, referenced cmd in cwd executes alternate cmd, Бојан Ландекић, 2007/02/27
- Re: GNU bash, 3.00.15(1)-release, referenced cmd in cwd executes alternate cmd, Matthew Woehlke, 2007/02/27
- Re: GNU bash, 3.00.15(1)-release, referenced cmd in cwd executes alternate cmd,
Bob Proulx <=
- Re: GNU bash, 3.00.15(1)-release, referenced cmd in cwd executes alternate cmd, Matthew Woehlke, 2007/02/28