4.6.6 Error: Could not locate the Motif Library in LD_LIBRARY_PATH
(Ask a Question)Error: Could not locate the Motif library in LD_LIBRARY_PATH
Cause: Libero uses Motif Graphical Toolkit Library for its graphical interface on Linux. The Red Hat Enterprise Linux operating system installation may not include a Motif Library.
Resolution: If you have the Motif Library installed, the environment
variable LD_LIBRARY_PATH
should point to the location of the Motif
Library. Make sure that the path of the Motif Library is contained in the
LD_LIBRARY_PATH
environment variable. You can add the path with the
following command:
set LD_LIBRARY_PATH = (<path to Motif Library> $LD_LIBRARY_PATH)
If you are not sure whether you have the Motif Library installed, issue the following commands,
which list which Motif Library is installed: rpm -qa | grep -i
motif
.
The command rpm -qal | grep -i motif lists the files and paths associated with
the Motif Library listed above (notice the extra l
in the second
command).
If you do not have a Motif Library installed, download and install OPEN Motif for free from www.opengroup.org/openmotif/.
Libero Linux tools expect to see the libXm.so.3 package of the Motif Library. Different versions of OPEN Motif might install libXm.so.4 or others that are not compatible with Libero. Make sure the OPEN Motif version used installs libXm.so.3. One sample version that provides libXm.so.3 is openmotif v2.2.3. Because Libero is a 32-bit application, you must use the 32-bit Motif Library even if the computer is running a 64-bit operating system.