Go Back   The macosxhints Forums > OS X Help Requests > UNIX - X11



Reply
 
Thread Tools Rating: Thread Rating: 62 votes, 4.94 average. Display Modes
Old 11-03-2011, 11:31 AM   #1
bobwohlhueter
Prospect
 
Join Date: Nov 2011
Posts: 3
X11 cannot run on Snow Leopard

The details are laid out below. The problems all point to an outmoded libfreetype.6.dylib, but everything looks up-to-date. Anybody know what's wrong?

System Software Overview:

System Version: Mac OS X 10.6.8 (10K549)
Kernel Version: Darwin 10.8.0
Boot Volume: Macintosh HD
Boot Mode: Normal
Computer Name: summer
User Name: Robert Wohlhueter (bobw)
Secure Virtual Memory: Enabled
64-bit Kernel and Extensions: Yes

X11:

Version: 2.3.6
Last Modified: 12/20/10 7:18 AM
64-Bit (Intel): No
Get Info String: org.x.X11
Location: /Applications/Utilities/X11.app

[these versions, for example, meet the stated requirements of Gimp 2.6.10 for Snow Leopard]

Gimp 2.6.10 for Mac OS X for Snow Leopard

To install GIMP simply drop it to your Application folder.
Requirements
To run this version of GIMP you need
* Mac OS X 10.6.4 or higher
* X11 version 2.3.5 (included in Mac OS X 10.6.4 or higher)




[using Apple's X11 reports these problems when attempting to open. Consequently, no X-based application, like Gimp, works]
Process: X11.bin [23914]
Path: /Applications/Utilities/X11.app/Contents/MacOS/X11
Identifier: org.x.X11
Version: ??? (???)
Build Info: X11server-850300~2
Code Type: X86-64 (Native)
Parent Process: launchd [166]

Date/Time: 2011-11-03 11:08:54.481 -0400
OS Version: Mac OS X 10.6.8 (10K549)
Report Version: 6
Sleep/Wake UUID: 6A22C1BF-87A2-4B3E-80B4-8FB6779359E3

Interval Since Last Report: -30501 sec
Per-App Interval Since Last Report: -3490531 sec
Per-App Crashes Since Last Report: 3183
Anonymous UUID: 1235389F-3A6A-4938-A26F-4939F5D5DE46

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread: 0

Dyld Error Message:
Library not loaded: /usr/X11/lib/libfreetype.6.dylib
Referenced from: /usr/X11/lib/libXfont.1.dylib
Reason: Incompatible library version: libXfont.1.dylib requires version 13.0.0 or later, but libfreetype.6.dylib provides version 10.0.0

Binary Images:
0x7fff5fc00000 - 0x7fff5fc3bdef dyld 132.1 (???) <B536F2F1-9DF1-3B6C-1C2C-9075EA219A06> /usr/lib/dyld

Model: MacBookPro5,3, BootROM MBP53.00AC.B03, 2 processors, Intel Core 2 Duo, 2.66 GHz, 4 GB, SMC 1.48f2
Graphics: NVIDIA GeForce 9600M GT, NVIDIA GeForce 9600M GT, PCIe, 256 MB
Graphics: NVIDIA GeForce 9400M, NVIDIA GeForce 9400M, PCI, 256 MB
Memory Module: global_name
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 (5.10.131.42.4)
Bluetooth: Version 2.4.5f3, 2 service, 19 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Network Service: AirPort, AirPort, en1
Serial ATA Device: Hitachi HTS545032B9SA02, 298.09 GB
Serial ATA Device: HL-DT-ST DVDRW GS23N
USB Device: My Passport 071A, 0x1058 (Western Digital Technologies, Inc.), 0x071a, 0x24100000 / 3
USB Device: Built-in iSight, 0x05ac (Apple Inc.), 0x8507, 0x24400000 / 2
USB Device: Apple Internal Keyboard / Trackpad, 0x05ac (Apple Inc.), 0x0236, 0x04600000 / 3
USB Device: IR Receiver, 0x05ac (Apple Inc.), 0x8242, 0x04500000 / 2
USB Device: Hub, 0x0409 (NEC Corporation), 0x005a, 0x26200000 / 3
USB Device: Slim Tablet, 0x172f, 0x0031, 0x26210000 / 4
USB Device: Internal Memory Card Reader, 0x05ac (Apple Inc.), 0x8403, 0x26500000 / 2
USB Device: BRCM2046 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0x06100000 / 2
USB Device: Bluetooth USB Host Controller, 0x05ac (Apple Inc.), 0x8213, 0x06110000 / 5



[the error message with XQuartz stems from the same libXfont.1.dylib / libfreetype.6.dylib problem]
Process: X11.bin [20209]
Path: /Applications/Utilities/XQuartz.app/Contents/MacOS/X11
Identifier: org.macosforge.xquartz.X11
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: launchd [166]

Date/Time: 2011-11-03 11:02:41.193 -0400
OS Version: Mac OS X 10.6.8 (10K549)
Report Version: 6
Sleep/Wake UUID: 6A22C1BF-87A2-4B3E-80B4-8FB6779359E3

Interval Since Last Report: -30871 sec
Per-App Interval Since Last Report: -3490531 sec
Per-App Crashes Since Last Report: 3164
Anonymous UUID: 1235389F-3A6A-4938-A26F-4939F5D5DE46

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread: 0

Dyld Error Message:
Library not loaded: /opt/X11/lib/libfreetype.6.dylib
Referenced from: /opt/X11/lib/libXfont.1.dylib
Reason: Incompatible library version: libXfont.1.dylib requires version 13.0.0 or later, but libfreetype.6.dylib provides version 10.0.0

Binary Images:
0x7fff5fc00000 - 0x7fff5fc3bdef dyld 132.1 (???) <B536F2F1-9DF1-3B6C-1C2C-9075EA219A06> /usr/lib/dyld

Model: MacBookPro5,3, BootROM MBP53.00AC.B03, 2 processors, Intel Core 2 Duo, 2.66 GHz, 4 GB, SMC 1.48f2
Graphics: NVIDIA GeForce 9600M GT, NVIDIA GeForce 9600M GT, PCIe, 256 MB
Graphics: NVIDIA GeForce 9400M, NVIDIA GeForce 9400M, PCI, 256 MB
Memory Module: global_name
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 (5.10.131.42.4)
Bluetooth: Version 2.4.5f3, 2 service, 19 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Network Service: AirPort, AirPort, en1
Serial ATA Device: Hitachi HTS545032B9SA02, 298.09 GB
Serial ATA Device: HL-DT-ST DVDRW GS23N
USB Device: My Passport 071A, 0x1058 (Western Digital Technologies, Inc.), 0x071a, 0x24100000 / 3
USB Device: Built-in iSight, 0x05ac (Apple Inc.), 0x8507, 0x24400000 / 2
USB Device: Apple Internal Keyboard / Trackpad, 0x05ac (Apple Inc.), 0x0236, 0x04600000 / 3
USB Device: IR Receiver, 0x05ac (Apple Inc.), 0x8242, 0x04500000 / 2
USB Device: Hub, 0x0409 (NEC Corporation), 0x005a, 0x26200000 / 3
USB Device: Slim Tablet, 0x172f, 0x0031, 0x26210000 / 4
USB Device: Internal Memory Card Reader, 0x05ac (Apple Inc.), 0x8403, 0x26500000 / 2
USB Device: BRCM2046 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0x06100000 / 2
USB Device: Bluetooth USB Host Controller, 0x05ac (Apple Inc.), 0x8213, 0x06110000 / 5
bobwohlhueter is offline   Reply With Quote
Old 11-03-2011, 06:49 PM   #2
acme.mail.order
League Commissioner
 
Join Date: Sep 2003
Location: Tokyo
Posts: 6,329
Did you install 10.6 fresh, or did you upgrade a Leopard install that had X11?

X11 is an optional install - you have to do a little bit of digging to find it.
acme.mail.order is offline   Reply With Quote
Old 11-06-2011, 02:56 PM   #3
Makoto
Major Leaguer
 
Join Date: Jul 2004
Posts: 283
What version of XQuartz are you running? Did X11 work before you installed XQuartz?
__________________
Surviving for years on little sleep and a mere diet of cup ramen and soda...

Last edited by Makoto; 11-06-2011 at 03:00 PM.
Makoto is offline   Reply With Quote
Old 11-07-2011, 08:00 PM   #4
bobwohlhueter
Prospect
 
Join Date: Nov 2011
Posts: 3
I installed XQuartz 2.6.3 -- latest as of a few days ago. No, X was not working --- indeed, that is why I downloaded XQuartz. My Apple-X installation was onto a new MacPro along with the Snow Leopard OS. And (apparently) has been upgraded automatically since then, to 2.3.6. (Which I believe is also the latest -- e.g. when I just downloaded X anew from Apple, it won't install, because the installed version was "newer".
One troubling thing: in my system profiler's entry for X11, it says "64-Bit (Intel): No" Are there separate X libs for running in 32-bit versus 64-bit modes?
bobwohlhueter is offline   Reply With Quote
Old 11-07-2011, 09:42 PM   #5
DeltaMac
League Commissioner
 
Join Date: Jan 2002
Posts: 8,501
X11 is not a 64-bit app.
X11 will run fine on a Mac using a 64-bit OS X system.
The 'bit-ness' is not related to your issue.

Try downloading and installing your current combined OS X update.
Here's the link to the correct updater: http://support.apple.com/kb/DL1399
DeltaMac is offline   Reply With Quote
Old 11-07-2011, 10:53 PM   #6
Makoto
Major Leaguer
 
Join Date: Jul 2004
Posts: 283
Actually, XQuartz was updated to 2.7.0 on the 4th.

I did notice this on the their site's front page - it mentions it's for Leopard users, but I wouldn't be surprised if, under certain conditions, it could happen to users of Snow Leopard/Lion.

Quote:
OS-X Software/Security Updates and XQuartz (Leopard Only)

OS-X Software Updates have included some of the work done by this project, but for various reasons, Apple cannot ship the latest and greatest version offered by this site. Since our package clobbers Apple's X11.app, their SU will clobber ours. Because of this, you may experience conflicts after doing a Software Update from Apple. It is suggested that you install the latest XQuartz release after installing an update to OS-X Leopard.

Have you tried the usual troubleshooting procedures, as well? (checking permissions, HD, etc.) I don't even know, offhand, if X11 uses plists, or that they'd have any bearing on this problem (though it could indeed be something wrong that installing XQuartz may not touch by default...).

You might take advantage of the Support options on the XQuartz homepage - they might be better able to recognize what's going on.
__________________
Surviving for years on little sleep and a mere diet of cup ramen and soda...
Makoto is offline   Reply With Quote
Old 11-16-2011, 04:13 PM   #7
bobwohlhueter
Prospect
 
Join Date: Nov 2011
Posts: 3
Following DeltaMac's suggestion, in installed the "combined OS X update", and lo-and-behold X11 now starts without complaint (and some X-applications work.) But Gimp does not work -- neither 2.6.3 nor 2.6.11snowleopard. It seems to start for a second (if you watch a "force quit" window carefully), but stops in a split second with no error message.

I guess I'll turn to the Gimp community (and/or XQuartz community) to see if they have words of wisdom.
bobwohlhueter is offline   Reply With Quote
Old 11-18-2011, 05:45 AM   #8
Makoto
Major Leaguer
 
Join Date: Jul 2004
Posts: 283
Are you trying to run the versions of The GIMP from here? Apparently, it may not run at all if you have XQuartz installed. (Edit: I think that claim was made in a different post on those SF forums.) I just noticed this comment from the developer about X11 vs XQuartz (in regard to those particular builds of The GIMP), from this thread on the Sourceforge forums for the project (third post in the thread):

Quote:
Originally Posted by lisanet
It's very likely that you had X11 from the XQuartz project installed on your system, and by trying to delete the XQuartz version you've broken your X11 installation. I don't know how to fix this, and as you might already know, I don't give support for anything related to the XQuartz version of X11. Please ask the guys from the XQuartz project or have a look at some X11 specific mailing list or forum.

If you want to know, why I'm so annoyed of XQuartz, here's why:

First, X11 is a set of libraries and utilities that reside somewhere deep in your filesystem, in directories which you can't see in Finder, because they are essential to the operation system. A user should never do anything in those system directories.

Second, X11 from XQuartz is _not_ a replacement for the X11 version Apple does ships with Snow Leopard. It's a development version, which may, from time to time, get included in the official Snow Leopard updates. So if you install XQuartz you will get two sets of X11 related tools, libraries and other stuff on your system.

Third, if you are a developer and you want to build _any_ application on Mac OS X, you have to exactly define, what libraries your application should use, by exactly specifiying the directories where those libraries are. Since Apple's X11 and XQuartz's X11 are located in different directories (see above) I had to decide, which library set I should use for GIMP. I decide to use the Apple version, because it's hipped with the system.

Now, if you try to delete XQuartz and don't know exactly what you're doing or don't even know, that you have two sets of X11 related stuff on your system, it's very likely that you delete libraries and other data, that are essential to Apple's X11.

This is why I strongly recommend to never install any X11 related stuff from anywhere of the net. Never. It won't work, because GIMP uses Apple's X11.

There are so many users out there, how see themselves as experts, they just ignore my advice and download X11 from the XQuartz project and after installing XQuartz's X11 they notice, that it won't work. As they are experts, they fix it by deleting everything they can find which has a "X" in it's filename and still wonder why it won't work. Now they know that it must be GIMP, which is blocking. They come here and try to tell me that GIMP is the cause of their problem, that they did everything I recommend and that, well, they delete a few days ago something they think was XQuartz.

In some rare cases it might be that it's really Apple's X11 which might prevent GIMP from running, but in the last two years, I never heard of such an issue.

So again, please try to get rid of XQaurtz's X11 by aksing the guys of the XQuartz project on how to do this without crashing your system and ask them what you have to do to get your system back up and running. Then install Apple's X11 from the SL installation DVD, run Software update, og out and in again. Done.

I don't know if that's entirely true (XQuartz being geared toward developers only), but I was wondering if any of it applied (the following post in that Sourceforge project forum post apparently has a link describing how to remove XQuartz, at that).
__________________
Surviving for years on little sleep and a mere diet of cup ramen and soda...

Last edited by Makoto; 11-18-2011 at 05:48 AM.
Makoto is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 01:43 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.