[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dyld trap error on os x 10.2.1
From: |
Chet Ramey |
Subject: |
Re: dyld trap error on os x 10.2.1 |
Date: |
Mon, 23 Sep 2002 18:11:50 -0400 |
> Machine Type: powerpc-apple-macosx
>
> Bash Version: 2.05
> Patch Level: 0
> Release Status: release
>
> Description
> bash does not start after ungrading to 10.2.1. The log is as follows:
>
> [biophys:~] lab% bash
> dyld: bash Undefined symbols:
> _tgetent
> _tgetflag
> _tgetnum
> _tgetstr
> _tgoto
> _tputs
> Trace/BPT trap
Apple moved some things around in 10.2. In 10.2, you need to link with
-lncurses, whereas in 10.1 the termcap functions were in -lSystem with
everything else. You should be able to just reconfigure/rebuild bash on
10.2 and have it pick up the right libraries.
Of course, Apple ships bash as /bin/sh on 10.2, so you could just grab
that instead.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
Chet Ramey, ITS, CWRU chet@po.CWRU.Edu http://cnswww.cns.cwru.edu/~chet/