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.
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.