This information is only relevant if you are using Opera 8 or earlier. Opera 9 no longer relies on Motif. If you have
not done so already, I advise you to upgrade to Opera 9.
Checking if you already have Motif
Many Linux distributions already contain some version of Motif. So you may not
need to follow the below instructions. To find out whether you have a version of
Motif installed try:
ldd /usr/lib/opera/plugins/operamotifwrapper
You should get something like:
- libXm.so.2 => /usr/X11R6/lib/libXm.so.2 (0x40027000)
- libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0x401bf000)
- libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x401c7000)
- libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x401d5000)
- libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40222000)
- libdl.so.2 => /lib/libdl.so.2 (0x40302000)
- libm.so.6 => /lib/i686/libm.so.6 (0x40306000)
- libc.so.6 => /lib/i686/libc.so.6 (0x4032b000)
- libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4045b000)
- libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40464000)
- /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
The line that says libXm.so.2 => /usr/X11R6/lib/libXm.so.2 (0x40027000)
means that you've got Motif installed.
However if that line looks like libXm.so.2 => not found you need to
install Motif.
Getting Motif
There are several verions of Motif around, any should work.
OpenMotif, which you can download from
www.openmotif.org/download
The debian package should work on any distribution using the deb package format
(Progeny/Corel/Stormix). The rh6.2 should work on most rpm based distributions.
If none of these works for you, try the Binary Package.
Installing Motif
- RPM (RedHat Package Manager packages)
- To install a RPM package you must have root access on your system. Either login as root or SUID into root.
- Example: su
- Move to the location you downloaded/saved the package to and type:
rpm -Uvh packagename
- Example: rpm -Uvh openmotif-2.1.30-5_ICS.i386.rpm
- With some installs, you may also need to do the following - if your /etc/ld.so.conf file already contains an appropriate line pointing to your OpenMotif directory, this step should not be necessary:
- Edit /etc/ld.so.conf and add the line:
/usr/OpenMotif-2.1.30/
(change this to point to the directory that OpenMotif was installed into)
- Run the following command:
ldconfig -f /etc/ld.so.conf
- DEB (Debian package format)
- To install a DEB package you must have root access on you system. Either login as
root or SUID into root
- Example: su
- Move to the location you downloaded/saved the package to and type:
dpkg -i packagename
- Example: dpkg -i openmotif_2.1.30-5_i386.deb
- tgz (the tgz package format)
- To install a tgz package you must have root access on you system.
Either login as root or suid into root
- Example: su
- Move to the location you downloaded/saved the package to and type:
tar zxfv packagename -C /
- Example: tar zxfv openmotif-2.1.30-linux-i386.tgz -C /