Message: Re: Library problems OSX 10.8.2, 4.9.6.b01 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Library problems OSX 10.8.2, 4.9.6.b01 

Forum: Installation and Configuration
Re: Question Library problems OSX 10.8.2, 4.9.6.b01 (Daniel Cox)
Date: 26 Oct, 2012
From: John Allison <John Allison>

On Fri, 26 Oct 2012 08:54:12 GMT, Daniel Cox wrote:
> dyld: Library not loaded: /opt/local/lib/libX11.6.dylib
>   Referenced from: /usr/local/lib/libXmu.6.dylib
>   Reason: Incompatible library version: libXmu.6.dylib requires version 10.0.0 or later, but libX11.6.dylib provides version 9.0.0
> Trace/BPT trap: 5
> 
> I have XQuartz 2.7.4, XCode 4.5.1, OSX 10.8.2, any ideas?

I too have XQuartz 2.7.4, XCode 4.5.1, OSX 10.8.2. Works fine. My guess is you have an old X11 installation still around - perhaps you migrated to OS X 10.8 from an older OS X (I started on a new laptop).

XQuartz installs in /opt and on a new system puts symbolic links:

 $ ls -l /usr
...
lrwxr-xr-x     1 root  wheel      8 Aug  9 09:15 X11 -> /opt/X11
lrwxr-xr-x     1 root  wheel      8 Aug  9 09:15 X11R6 -> /opt/X11
...

But...out of respect, if stuff already exists in /usr, it does not override it. This includes links to /var/.

The problem is that if you install those sym links some old apps like xfig might stop working, but it's an easy thing to try, you can always revert.

I think you have a choice. Install the sym links or tell CMake about /opt. This is what I found on my old laptop:

 CMake \
...
-DX11_X11_INCLUDE_PATH=/usr/include \
-DX11_X11_LIB=/usr/X11/lib/libX11.dylib \
-DX11_ICE_LIB=/usr/X11/lib/libICE.dylib \
-DX11_SM_LIB=/usr/X11/lib/libSM.dylib \
-DX11_Xau_LIB=/usr/X11/lib/libXau.dylib \
-DX11_Xdmcp_LIB=/usr/X11/lib/libXdmcp.dylib \
-DX11_Xext_LIB=/usr/X11/lib/libXext.dylib \
-DX11_Xi_LIB=/usr/X11/lib/libXi.dylib \
-DX11_Xmu_LIBRARY=/usr/X11/lib/libXmu.dylib \
-DX11_Xpm_LIB=/usr/X11/lib/libXpm.dylib \
-DX11_Xrandr_LIB=/usr/X11/lib/libXrandr.dylib \
-DX11_Xrender_LIB=/usr/X11/lib/libXrender.dylib \
-DX11_Xt_LIB=/usr/X11/lib/libXt.dylib \
...
I guess you might do the same, replacing /usr/ by /opt/.

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Library problems OSX 10.8.2, 4.9.6.b01   (Daniel Cox - 26 Oct, 2012)
(_ None: Re: Library problems OSX 10.8.2, 4.9.6.b01   (John Allison - 26 Oct, 2012)
(_ Question: Re: Library problems OSX 10.8.2, 4.9.6.b01   (Daniel Cox - 26 Oct, 2012)
(_ None: Re: Library problems OSX 10.8.2, 4.9.6.b01   (John Allison - 26 Oct, 2012)
(_ Feedback: Re: Library problems OSX 10.8.2, 4.9.6.b01   (Ben Morgan - 26 Oct, 2012)
(_ None: Re: Library problems OSX 10.8.2, 4.9.6.b01   (Daniel Cox - 29 Oct, 2012)
(_ Feedback: Re: Library problems OSX 10.8.2, 4.9.6.b01   (Ben Morgan - 29 Oct, 2012)
(_ None: Re: Library problems OSX 10.8.2, 4.9.6.b01   (Daniel Cox - 29 Oct, 2012)
 Add Message Add Message
to: "Re: Library problems OSX 10.8.2, 4.9.6.b01"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]