Skip navigation

Terminal won't start

1134 Views 11 Replies Latest reply: May 7, 2012 5:52 AM by HeliosLR RSS
HeliosLR Level 1 Level 1 (0 points)
Currently Being Moderated
May 6, 2012 5:49 AM

Hi everybody,

 

I'm having a problem with my terminal. When I start an instance of it, this is what shows up:

 

----------------------------------------------------------

 

Last login: Sun May  6 20:34:38 on ttys000

dyld: lazy symbol binding failed: Symbol not found: _tgetent

  Referenced from: /bin/bash

  Expected in: flat namespace

 

dyld: Symbol not found: _tgetent

  Referenced from: /bin/bash

  Expected in: flat namespace

 

 

[Process completed]

 

----------------------------------------------------------

 

The only thing that I can think of that screwed up my terminal is installing the Humdrum package.

It downloads as a .sit file and extracts to a .pkg, which I just installed with the native Apple Installer app.

After it installed I couldn't find Humdrum anywhere, then I tried to use the Terminal for something and was met with this error.

 

I've rebooted but the issue persisted. I Googled for some solutions but none of the solutions provided by others seemed to work.

I'm also hesitant to "fix" any hidden files or code unless I'm sure that it's the cause of the problem... wouldn't want to kill my Mac.

 

I'd really appreciate any help that I can get in fixing this error, I use my Terminal for a lot of things and it's a real inconvenience to have it out of service!

 

Thanks a lot!

 

Helios

MacBook Pro (15-inch Mid 2009), Mac OS X (10.5.8)
  • BDAqua Level 10 Level 10 (114,800 points)
    Currently Being Moderated
    May 6, 2012 10:44 AM (in response to HeliosLR)

    Might search for an installer log for that pkg, but I think you need to reinstall the complete Terminal pkg & hopefully that'll take care of it.

     

    Get Pacifist...

     

    http://www.charlessoft.com/

     

    then extract/install what you need from your Install Disc.

     

    If all the above fails, then it appears to be time for a relatively painless Archive & Install, which gives you a new/old OS, but can preserve all your files, pics, music, settings, etc., as long as you have plenty of free disk space and no Disk corruption, and is relatively quick & painless...

     

    http://docs.info.apple.com/article.html?artnum=107120

     

    Just be sure to select Preserve Users & Settings.

  • X423424X Level 6 Level 6 (14,190 points)
    Currently Being Moderated
    May 6, 2012 1:57 PM (in response to HeliosLR)

    HeliosLR wrote:


    The only thing that I can think of that screwed up my terminal is installing the Humdrum package.

    It downloads as a .sit file and extracts to a .pkg, which I just installed with the native Apple Installer app.

    After it installed I couldn't find Humdrum anywhere, then I tried to use the Terminal for something and was met with this error.


    Which one of those things did you install considering the one for OSX only says up to 10.3 and you are using 10.5.8?  Why would you even bother downloading it?


    I downloaded the 10.3 version and int installs:


    /usr/local/bin/gawk

    /usr/local/bin/humdrum

    /usr/share/man/man1/...a crap load of man pages...64 of them...


    None of that should affect your terminal launch.  But there is something funny looking in the pkg postinstall script.  Look at /etc/profile and see what you have there.  It's a text file so use your favorite text editor to look at it.  


    I don't know if this has changed from 10.5.x to 10.6.x but here's what my /etc/profile looks like:

    # System-wide .profile for sh(1)


    if [ -x /usr/libexec/path_helper ]; then

            eval `/usr/libexec/path_helper -s`

    fi


    if [ "${BASH-no}" != "no" ]; then

            [ -r /etc/bashrc ] && . /etc/bashrc

    fi


    The pkg postinstall script is a perl script and it appears to be appending to /etc/profile a bunch of stuff for adding humdrum to the execution PATH and exporting a few environment variables. That may affect the way terminal launches (I didn't analyze it in too much detail).  You should remove any additions you find there.

  • X423424X Level 6 Level 6 (14,190 points)
    Currently Being Moderated
    May 7, 2012 12:59 AM (in response to HeliosLR)

    No it doesn't geve me any clues.  I also don't think reinstalling terminal.app will fix anything.  But you will find that out for yourself.

     

    Some experiments:

     

    Try launching terminal in another account.

     

    Try launching terminal when booting in safe mode.

     

    Post the text files /etc/profile and /etc/bashrc.  If you say your /etc/profile now looks like mine just post /etc/bashrc.

  • X423424X Level 6 Level 6 (14,190 points)
    Currently Being Moderated
    May 7, 2012 2:11 AM (in response to HeliosLR)

    Not sure what ppc code has to do with this.  Is bash ppc code on your machine?  I wouldn't expect it to be.  If it wasn't for the fact that you cannot launch terminal I'd ask you to do a file coammnd on /bin/bash.

     

    What about running in another account and running when booted in save mode?

  • X423424X Level 6 Level 6 (14,190 points)
    Currently Being Moderated
    May 7, 2012 3:25 AM (in response to HeliosLR)

    I don't know what else to suggest at the moment.  I still don't think installing a fresh copy of the code won't change anything but you may as well as try.

     

    One last experiment.  Go to /bin and double click zsh to see if it launches.  If it does, then double click bash also in /bin.

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.