Friday, August 28, 2015

Install XView library in 64-bit Linux

My old but still powerful FACT software is based on an ancient GUI library -- XView. Since it already stopped development in the 32-bit era, to install XView Lib on modern 64-bit Linux system, there are some 32-bit compatible library need to install. They can't be found using the the Add/Remove software GUI tool, so have to install by command-line:

yum install compat-libstdc++-33.i686
yum install libX11.i686
yum install libXext.i686
yum install libXpm.i686
(replace 'yum' to 'apt-get' on Ubuntu)

Once those are done, the XView lib can be installed using the rpm build downloaded from here.

If you want to compile the software, you will need:

yum install glibc-devel.i686 

Besides, make sure there is symbolic link made for libX11.so:

cd /usr/lib (or /usr/lib32 in some OS)
ln -s libX11.so.6 libX11.so

No comments: