Necessary code or trash?

Marc Ramirez marc.ramirez at
Thu Aug 28 15:03:29 PDT 2003

On Thu, 28 Aug 2003, Dan Nelson wrote:

> In the last episode (Aug 28), Marc Wiz said:
> > Sticking with /bin/sh is a good idea.
> >
> > What I have done is build a static version of bash and put it /bin
> >
> > I changed root's shell to /bin/bash and run just fine.
> >
> > Has anyone noticed what a pain it is to build bash statically and
> > install it in /bin?
> I don't use bash, but the bash2 port Makefile looks like it builds a
> static binary by default:

You seem to be correct:

$ ldd /bin/bash
ldd: /bin/bash: not a dynamic executable

I took no special pains - just built the port.

Marc Ramirez
Blue Circle Software Corporation
513-688-1070 (main)
513-382-1270 (direct) (personal)

More information about the freebsd-questions mailing list