Installing Midnight Commander on Mac OSX

Midnight Commander (mc) is one of the tools which I always like to see on *nix systems I use. I just can’t understand why Orthodox file managers like good old Norton Commander on DOS or more up to date excellent Total Commander on Windows are not more popular, but nevertheless I am not here to convince anyone to use them, just want to mention that even if you are a deep command line devotee you could find the tools useful. And certainly if you are deep mouse devotee you should try.

I will explain quickly how to install mc on mac (Mac OSX Leopard 10.5.6) using Fink. Installation with Fink should be painless and this blog post should not exist but I experienced an issue with the process I wanted to share quick solution:

1. If you don’t have Fink yet install it
2. Run:

sudo apt-get install mc

3. Try to start Midnight Commander:

mc

4. Fink should install all dependencies but if you encounter following error go to step 5, if not you are done:

dyld: Library not loaded: /sw/lib/libintl.1.dylib  Referenced from: /sw/bin/mc

Reason: image not found

5. Small dirty hack to fix the previous problem:

sudo ln -s /sw/lib/libintl.3.4.3.dylib /sw/lib/libintl.1.dylib

I know that there are more clean solutions than this one. Share this with me! What’s your favourite OFM?

Popularity: 45% [?]

5 Comments »

  1. Ball said,

    March 25, 2009 @ 12:28 am

    If you get a dependency problem like that in Fink, the best solution is to rebuild the package:

    fink rebuild packagename

  2. ancient said,

    May 25, 2009 @ 9:48 am

    thanks

  3. Kirill said,

    November 11, 2009 @ 1:47 pm

    Works for me. Thank you.

  4. edis said,

    March 25, 2010 @ 5:54 pm

    Worked as advertised, thank you ;-)

    One thing I am missing right now, is to have solution for functional keys, as they are intercepted from this beautiful tiny aluminium keyboard by system before they get to mc.

  5. _Antonio_ said,

    April 18, 2010 @ 1:12 am

    I’m grateful to anyone worked to port the linux software to mac! Midnight Commander is a “must use”, and like you i also can’t understand why the OFM isn’t more popular.
    In my dreams there is a file manager like … I think I want Totalcommander which its panel are the Finder windows (overall for Quicklook). ;-)
    P.S. Of course my favourite OFM is Totalcommander, altough I came from Linux (and now use OSX).

RSS feed for comments on this post · TrackBack URI

Leave a Comment

Close
E-mail It