Necessary code or trash?

Marc Ramirez marc.ramirez at bluecirclesoft.com
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:
>
> CONFIGURE_ENV=  LDFLAGS=-static


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)
http://www.bluecirclesoft.com
http://www.mrami.com (personal)


More information about the freebsd-questions mailing list