64-bit linux install wine and other software

My system is centos7 64-bit. When I installed wine, I thought it was the same as 32-bit. As a result, when I executed ./configure, an error occurred (a 32-bit program cannot be created, you need to install a 32-bit development library)

configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.

 

I found a solution on the official website of wine. It turned out that there was a parameter missing. Its command should be like this

# ./configure --enable-win64

 

The rest of the action is the same as the 32-bit

 

In fact, there is another way to install other 32 software:

Install the 32-bit runtime library before compiling, otherwise it will not compile:
yum install alsa-lib-devel.i686 libsndfile-devel.i686 readline-devel.i686 glib2.i686 glibc-devel.i686 libgcc.i686 libstdc++-devel.i686 pulseaudio-libs-devel.i686 cmake portaudio-devel.i686 openal-soft-devel.i686 audiofile-devel.i686 freeglut-devel.i686 lcms-devel.i686 libieee1284-devel.i686 openldap-devel.i686 unixODBC-devel.i686 sane-backends-devel.i686 fontforge libgphoto2-devel.i686 isdn4k-utils-devel.i686 mesa-libGL-devel.i686 mesa-libGLU-devel.i686 libXxf86dga-devel.i686 libXxf86vm-devel.i686 giflib-devel.i686 cups-devel.i686 gsm-devel.i686 libv4l-devel.i686 fontpackages-devel ImageMagick-devel.i686 openal-soft-devel.i686 libX11-devel.i686 docbook-utils-pdf libtextcat tex-cm-lgc -y
 
 
./configure
make
make install

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324519888&siteId=291194637