Mohammadreza Hadizadeh

Run gedit on Mac OS X Mavericks

Pasted Graphic 12
1) Download the last version of gedit (gedit-3.2.6-3) from gnome.org for Mac OS X (Click here for direct download link).
2) Install gedit application.

To solve the problem of running gedit on Mac OS X Mavericks, we need to update the version of libxml2 packaged with gedit as follow:
3) use the command
$ brew install libxml2
4) and then
$ cp /usr/local/Cellar/libxml2/2.9.0/lib/libxml2.2.dylib /Applications/gedit.app/Contents/Resources/lib/
point: If in the last step, you get the error message
cp: /usr/local/Cellar/libxml2/2.9.0/lib/libxml2.2.dylib: No such file or directory
you need to check the version of installed libxml2 on your system (here it is supposed to be 2.9.0) and change the version in cp command.