I have found a way to fix 32-bit setup on Debian AMD64 by doing the following steps:
1) Have latest packages installed, so a "update/upgrade" is required
2) I wrote a "fixso.sh" script:
Code: Select all
#!/bin/sh
LIST=`ls -1 *.so.?`
for entry in ${LIST}; do
echo "entry ${entry} ..."
target=`echo "${entry}" | head -c -3`
ln -s "${entry}" "${target}"
done
# cd /lib/i386-linux-gnu/
# sh /root/fixso.sh
# cd /usr/lib/i386-linux-gnu/
# sh /root/fixso.sh
3) I wrote a "reconfgure.sh" script:
Code: Select all
#!/bin/sh
export LDFLAGS="-L/usr/lib/i386-linux-gnu -L/lib/i386-linux-gnu"
./configure --prefix=/opt
Now it is comiling wine.
