How to run gedit 3.2.6 on OS X Mavericks

root's picture

You have updated OS X to Mavericks and gedit is not working anymore? Normally this should be fixed with an update but 3.2.6 is the latest version and does not start on Mavericks.

Until a new version will arrive, there is a very simple solution if you have Macports, Homebrew, Fink or whatever. Below you will have the Macports solution (this is what I have installed):

1. install libxml2 version 2.9.1:

fmbp:~ root# port -v install py-libxml2
--->  Computing dependencies for py-libxml2...
--->  Dependencies to be installed: py24-libxml2 python24
--->  Fetching archive for python24
--->  python24-2.4.6_10.darwin_13.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
--->  Attempting to fetch python24-2.4.6_10.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/python24
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 8726k  100 8726k    0     0   377k      0  0:00:23  0:00:23 --:--:--  373k
--->  Attempting to fetch python24-2.4.6_10.darwin_13.x86_64.tbz2.rmd160 from http://lil.fr.packages.macports.org/python24
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   512  100   512    0     0   6920      0 --:--:-- --:--:-- --:--:--  7013
--->  Installing python24 @2.4.6_10
--->  Activating python24 @2.4.6_10
--->  Cleaning py24-libxml2
--->  Removing work directory for py24-libxml2
--->  Fetching archive for py-libxml2
--->  py-libxml2-2.9.1_0.darwin_13.noarch.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
--->  Attempting to fetch py-libxml2-2.9.1_0.darwin_13.noarch.tbz2 from http://lil.fr.packages.macports.org/py-libxml2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1636  100  1636    0     0   9948      0 --:--:-- --:--:-- --:--:--  9975
--->  Attempting to fetch py-libxml2-2.9.1_0.darwin_13.noarch.tbz2.rmd160 from http://lil.fr.packages.macports.org/py-libxml2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   512  100   512    0     0   6795      0 --:--:-- --:--:-- --:--:--  6826
--->  Installing py-libxml2 @2.9.1_0
--->  Activating py-libxml2 @2.9.1_0
--->  Cleaning py-libxml2
--->  Removing work directory for py-libxml2
--->  Updating database of binaries: 100.0%
--->  Scanning binaries for linking errors: 100.0%
--->  No broken files found.

2. Copy the file libxml2.2.dylib into the gedit application:
fmbp:~ root# cp /opt/local/lib/libxml2.2.dylib /Applications/gedit.app/Contents/Resources/lib/

3. Start gedit.app from your applications folder and magically will work! Easy, no?

Thou shalt not steal!

If you want to use this information on your own website, please remember: by doing copy/paste entirely it is always stealing and you should be ashamed of yourself! Have at least the decency to create your own text and comments and run the commands on your own servers and provide your output, not what I did!

Or at least link back to this website.

Recent content

root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root
root