bug-bash
[Top][All Lists]
Advanced

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

Re: bash won't run


From: Chet Ramey
Subject: Re: bash won't run
Date: Mon, 16 Dec 2002 16:26:54 -0500

> Configuration Information [Automatically generated, do not change]:
> Machine: powerpc
> OS: macosx
> Compiler: cc
> Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='powerpc' 
> -DCONF_OSTYPE='\
> macosx' -DCONF_MACHTYPE='powerpc-apple-macosx' -DCONF_VENDOR='apple' 
> -DSHELL -D\
> HAVE_CONFIG_H   -I.  -I. -I./include -I./lib -I/usr/local/include -O3 
> -I/usr/lo\
> cal/lib -L/usr/local/lib -traditional-cpp
> uname output: Darwin 67-41-252-10.cust.nwrk.qwest.net 6.0 Darwin Kernel 
> Version\
>   6.0: Sat Jul 27 13:18:52 PDT 2002; root:xnu/xnu-344.obj~1/RELEASE_PPC  
> Power M\
> acintosh powerpc
> Machine Type: powerpc-apple-macosx
> 
> Bash Version: 2.05
> Patch Level: 0
> Release Status: release
> 
> Description:
> 
> When attempting to run bash, I receive the following message:
> 
> dyld: bash Undefined symbols:
> _tgetent
> _tgetflag
> _tgetnum
> _tgetstr
> _tgoto
> _tputs
> Trace/BPT trap
> 
> 
> I simply open the terminal and type bash at the tcsh command prompt.  
> After the above mesage is displayed, I am returned to a tcsh prompt.  
> Please help.  The fix may be simple, but I am still somewhat of a shell 
> novice and would like to learn bash.

You're probably trying to run a bash built on MacOS 10.1 on a machine
running 10.2.  Apple changed some of the libraries after 10.1, and
moved the termcap functions from libSystem out into a separate library
in 10.2.  If that's the case, try removing the version of bash you're
trying to run and running /bin/sh instead (or linking /bin/sh to
/bin/bash), since Apple ships bash as /bin/sh in OS X 10.2. 

Chet


-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )

Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

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