Library issues on mac

I think this may be more of a Mac x11 issue than a ROOT issue, but after I install ROOT and try to run it I get the following error message:

dyld: Library not loaded: /usr/X11/lib/libfontconfig.1.dylib
  Referenced from: /usr/X11/lib/libXft.2.dylib
  Reason: Incompatible library version: libXft.2.dylib requires version 5.0.0 or later, but libfontconfig.1.dylib provides version 3.0.0

I’m running on OS X 10.5.8 and I have the same problem if I’m installing the mac binary or compiling from source.

Looks like you don’t have a consistent X11 installation on your system. Also do you have DYLD_LIBRARY_PATH set?

Cheers, Fons.

DYLD_LIBRARY_PATH is set to install location/root/lib

Do these commands show that the libs are indeed incompatible:

otool -L /usr/X11/lib/libXft.2.dylib

otool -L /usr/X11/lib/libfontconfig.1.dylib

Cheers, Fons.