MAE 2.0 DEMO: Error "fatal libX11.so.4: can‘t open file" (6/96)

I installed MAE 2.0 Demo and restarted my workstation. After adding the license.dat file in the apple directory, I attempted to start the MAE Demo and got the following error in the shell:

MAE 2.0.2LM Copyright 1994-1996 Apple Computer, Inc., All rights reserved.
ld.so.1: /opt/apple/bin/legal: fatal: libX11.so.4: can't open file:
errno=2
Killed

What is the solution?
If your workstation is running Solaris, you need to include the following in the environment variable LD_LIBRARY_PATH directory /usr/openwin/lib.

For csh
'setenv LD_LIBRARY_PATH /usr/openwin/lib'
For sh or ksh
'export LD_LIBRARY_PATH=/usr/openwin/lib'

MAE 2.0 Demo uses a default X Window that uses the libX11.so.4 file to state legal information, and uses that variable to locate the file.


Article Change History:
06 Jun 1996 - Added Solaris reference.



Published Date: Feb 18, 2012