Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can't map libX11.6.dylib



You'll probably need to remove the old files and the receipts in /Library/Receipts

sudo rm -rf /Applications/Utilities/X11.app /Library/Receipts/X11*.pkg /private/etc/X11 /private/etc/fonts /usr/X11R6 /usr/bin/open-x11 /usr/include/X11 /usr/include/Xplugin.h /usr/lib/X11 /usr/share/man/man1/open-x11.1

Then reinstall X11User.pkg (and X11SDK.pkg if you need it).

Ronnie

On Mar 29, 2007, at 2:15 PM, Alex Sheh wrote:

Thanks for the reply, Ronnie.
 
From where should I reinstall X11, to get libX11.6.dylib?  Since I'm running OSX 10.4, the Apple X11R6 documentation says to reinstall from the Install DVD.  I installed X11SDK.pkg, which updates /usr/X11R6/lib but not with libX11.6.dylib (I do get libX11.a), I also installed MacOSX10.4.pkg but performing a "file /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libX11.6.2.dylib" still yields a stub.
 
Should I consider installing the MacOSX version of XFree86?  Or is there a simpler way of getting libX11.6.dylib that I'm overlooking?
 
Thanks,
Alex
 
Important: Do not install the downloadable version of X11 on Mac OS X v10.4. It will not work. The Apple X11 version compatible with v10.4 is available only on the Mac OS X install DVD.
 


From: Ronnie Misra [mailto:email@hidden]
Sent: Thursday, March 29, 2007 12:01 PM
To: Alex Sheh
Cc: email@hidden
Subject: Re: can't map libX11.6.dylib

The files in /Developer/SDKs are not real libraries, they are library stubs:

% file /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libX11.6.2.dylib /usr/X11R6/lib/libX11.6.2.dylib
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libX11.6.2.dylib: Mach-O universal binary with 2 architectures
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libX11.6.2.dylib (for architecture ppc):  Mach-O dynamically linked shared library stub ppc
/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libX11.6.2.dylib (for architecture i386): Mach-O dynamically linked shared library stub i386
/usr/X11R6/lib/libX11.6.2.dylib:                                Mach-O universal binary with 2 architectures
/usr/X11R6/lib/libX11.6.2.dylib (for architecture ppc): Mach-O dynamically linked shared library ppc
/usr/X11R6/lib/libX11.6.2.dylib (for architecture i386):        Mach-O dynamically linked shared library i386

You will have to reinstall X11 to fix this problem.

Ronnie

On Mar 29, 2007, at 12:19 PM, Alex Sheh wrote:

Hi All
I’m trying to run rdesktop, which I installed via DarwinPorts, but I get the following runtime link error.
 
Library not loaded: /usr/X11R6/lib/libX11.6.dylib
  Referenced from: /opt/local/bin/rdesktop
  Reason: no suitable image found.  Did find:
 /usr/X11R6/lib/libX11.6.dylib: can't map
 
I did have to manually copy from /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib to /usr/X11R6/lib, because the existing X11R6 installation was an older version (4.11 instead of 6.2).  
 
Does anyone know how I can resolve this link error?  Thanks for your help.

- Alex
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden

References: 
 >RE: can't map libX11.6.dylib (From: "Alex Sheh" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.