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



Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Old 06-06-2009, 11:11 AM   #1
Jorge Reveron
Registered User
 
Join Date: Jun 2009
Posts: 1
Library not loaded: /usr/X11/lib/libfreetype.6.dylib

Hi,

I can't run X11 and I get this message

Process: X11.bin [3011]
Path: /Applications/Utilities/X11.app/Contents/MacOS/X11
Identifier: org.x.X11
Version: ??? (???)
Build Info: X11server-480700~6
Code Type: X86 (Native)
Parent Process: launchd [109]

Interval Since Last Report: 348 sec
Crashes Since Last Report: 1
Per-App Interval Since Last Report: 0 sec
Per-App Crashes Since Last Report: 1

Date/Time: 2009-06-06 17:47:33.523 +0200
OS Version: Mac OS X 10.5.7 (9J61)
Report Version: 6
Anonymous UUID: D0B7B222-B927-48FC-B0E5-F94475DB9DFE

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: /Applications/Utilities/X11.app/Contents/MacOS/X11.bin
Reason: image not found
Jorge Reveron is offline   Reply With Quote
Old 06-06-2009, 12:16 PM   #2
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 31,935
Quote:
Originally Posted by Jorge Reveron
Library not loaded: /usr/X11/lib/libfreetype.6.dylib
Referenced from: /Applications/Utilities/X11.app/Contents/MacOS/X11.bin
Reason: image not found

Do you have that file on your system?
Please show us the result of the following command:
ls -l /usr/X11/lib/libfreetype.6.dylib
__________________
hayne.net/macosx.html
hayne is offline   Reply With Quote
Old 03-24-2011, 04:07 AM   #3
kenorb
Guest
 
Posts: n/a
Quote:
Originally Posted by Jorge Reveron
Hi,

Dyld Error Message:
Library not loaded: /usr/X11/lib/libfreetype.6.dylib
Referenced from: /Applications/Utilities/X11.app/Contents/MacOS/X11.bin
Reason: image not found

My solution was to find that file and make a link.
$ locate libfreetype
/opt/X11/lib/libfreetype.6.dylib
/opt/X11/lib/libfreetype.dylib
...
$ sudo ln -s /opt/X11/lib /usr/X11/lib
  Reply With Quote
Old 12-21-2012, 01:05 PM   #4
marsgoonbars
Registered User
 
Join Date: Dec 2012
Posts: 1
careful

You may have mixed up paths with the symbolic link

usage: ln [-Ffhinsv] source_file [target_file]
ln [-Ffhinsv] source_file ... target_dir
link source_file target_file

so,
/usr/X11/lib had all the files for me and /opt/X11/lib didn't even exist

answer:
$ sudo ln -s /usr/X11/lib /opt/X11/lib

/usr/X11/lib [the source directory with all the files]
/opt/X11/lib [literally symbolic link or target file or dir]
marsgoonbars 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 08:01 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, 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.